Skip to content

Commit

Permalink
fix: tauri integ test fials after tauri upgrade to 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
abose committed Dec 2, 2023
1 parent 5cfc9ac commit 6879a6e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 120 deletions.
141 changes: 24 additions & 117 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,117 +1,24 @@
# The Basics

### Filing a bug

Check the [Troubleshooting Page](https://github.com/adobe/brackets/wiki/Troubleshooting) for common
issues with installing & launching Brackets, using Live Preview, etc.

**For bugs** be sure to search existing issues first. Include steps to consistently reproduce the
problem, actual vs. expected results, and your OS and Brackets version number.
Disable all extensions to verify the issue is a core Brackets bug.
[Read more guidelines for filing good bugs...](https://github.com/adobe/brackets/wiki/How-to-Report-an-Issue)

**For feature requests** please first check our [feature backlog](http://bit.ly/BracketsBacklog) to
see if it's already there. You can upvote features you'd like to see.

### Submitting a pull request

**Before you start coding**, post to the [brackets-dev Google group](http://groups.google.com/group/brackets-dev)
or the [#brackets IRC channel on freenode](http://webchat.freenode.net/?channels=brackets) about what
you're thinking of working on, so you can get early feedback. We don't want you to do tons of work
and then have to rewrite half of it!

For more on what's expected in a good pull request, see [Contributing Code](#contributing-code) below.


# Ways to Contribute

There are many ways you can contribute to the Brackets project:

* **Fix a bug** or **implement a new feature** - read on below.
* **[Write a Brackets extension](https://github.com/adobe/brackets/wiki/How-to-write-extensions)** and
tell us about it!
* **Test Brackets** and [report bugs](https://github.com/adobe/brackets/wiki/How-to-Report-an-Issue)
you find. For sample testing steps, see
[Brackets smoke tests](https://github.com/adobe/brackets/wiki/Brackets-Smoke-Tests),
[smoke tests with a local server](https://github.com/adobe/brackets/wiki/Brackets-Server-Smoke-Tests), and
[UI walkthrough steps](https://github.com/adobe/brackets/wiki/Localization-Tests).
* **Write unit tests** for Brackets.
* **Translate** Brackets into other languages (and help keep those translations up to date) - see
[localization README](https://github.com/adobe/brackets/blob/master/src/nls/README.md).
* **Write documentation** and help keep it up to date
(the [How to Use Brackets](https://github.com/adobe/brackets/wiki/How-to-Use-Brackets) intro page
is one example).
* **Try out some [Brackets extensions](https://github.com/adobe/brackets/wiki/Brackets-Extensions)**
and give feedback to their authors.


## Where Do I Start?

To start editing the Brackets code, read **[How to Hack on Brackets](https://github.com/adobe/brackets/wiki/How-to-Hack-on-Brackets)**.
To create your first Brackets extension, check out **[How to Write Extensions](https://github.com/adobe/brackets/wiki/How-to-write-extensions)**.

Here are some ideas:

* [Starter bugs](https://github.com/adobe/brackets/issues?labels=starter+bug&state=open) can
provide a good intro to the Brackets code.
* [Extension ideas](https://github.com/adobe/brackets/issues?q=label%3A%22Extension+Idea%22)
are feature requests that we think would be best implemented as an add-on; it's up to the
Brackets community to write them!
* [Starter features](http://bit.ly/BracketsBacklog) are a bit larger in scope. Be sure to discuss
these in the newsgroup before starting. _(To see starter features, click Filter Cards on the
right and then click the green "Starter Feature" label)._

Once you're ready to start coding, see the next section, [Contributing Code](#contributing-code).

**I'm new to JavaScript. How can I contribute to Brackets?** Brackets is a lot more complicated
than the average website that uses JS. Better to start on some JS tutorials (like [Codecademy's](http://www.codecademy.com/tracks/javascript)
or [MDN's](https://developer.mozilla.org/en-US/docs/JavaScript/Getting_Started)) and contribute
in some of the other ways listed above. Testing is a great way to start thinking like a programmer
before you've learned to code!


## Contributing Code

To get started editing the Brackets code, read [How to Hack on Brackets](https://github.com/adobe/brackets/wiki/How-to-Hack-on-Brackets).

Before submitting any pull request, please make sure to:

1. Discuss any major changes or questions beforehand in the [brackets-dev newsgroup](http://groups.google.com/group/brackets-dev).
2. Consider whether your change would be better as an optional extension. Brackets is lightweight
and tightly focused - but highly extensible.
3. Follow the [Pull Request Checklist](https://github.com/adobe/brackets/wiki/Pull-Request-Checklist)
to ensure a good-quality pull request.
4. Sign the [Brackets Contributor License Agreement](http://dev.brackets.io/brackets-contributor-license-agreement.html)
(we cannot merge before this).

High quality code and a top-notch user experience are very important in Brackets, and we carefully
review pull requests to keep it that way. The better you follow the guidelines above, the more likely
we are to accept your pull request - and the faster the code review will go.


## The Code Review Process

Brackets committers are responsible for reviewing all pull requests, providing feedback, and
ultimately merging good code into `master`. The review process ensures all code is high quality,
maintainable, and well documented.

Once you've opened a pull request, a committer will generally respond to it within a week with an
initial set of comments (you don't need to ping anyone to find a reviewer). Some pull requests
raise larger questions about UI design, product scope or architecture. Those are tagged to indicate
that review will take longer:

* \[PM\] - needs high-level input from product management
* \[XD\] - needs UI design / visual design discussion
* \[ARCH\] - needs architectural discussion

The best way to avoid this sort of holdup is to discuss your changes on the newsgroup first!

Once your pull request is merged, it will appear in the next release of Brackets - generally within
two weeks.

**Interested in becoming a committer?** See the [Committer Policy](https://github.com/adobe/brackets/wiki/Brackets-Committer-Policy)
for details. Committers are expected to take a leading role in the project by making significant
code contributions, reviewing pull requests, and providing feedback and suggestions on the
direction of the project.

Even if you're not a committer, you're still welcome to give feedback on any pull request!
# Contributing to Open Research
:+1::tada: Thanks for taking the time to contribute! :tada::+1:
## Table of Contents
1. [About the Project](#about-the-project)
1. [Project Status](#project-status)
1. [Getting Started](#getting-started)

## Community engagement
1. [Code of Conduct](https://github.com/phcode-dev/phoenix/blob/main/CODE_OF_CONDUCT.md)
1. [License](https://github.com/phcode-dev/phoenix/blob/main/LICENSE)
### Need support?
* Log an issue with us [here](https://github.com/phcode-dev/phoenix/issues/new/choose)
### Engage with the community?
* Discuss the project [here](https://github.com/phcode-dev/phoenix/discussions)
* Join our community discord channel [here](https://discord.com/invite/rBpTBPttca).

# About the Project
Documentation for phoenix/brackets

## Project Status
* Active.

# Getting Started
* see https://github.com/phcode-dev/phoenix/blob/main/README.md
4 changes: 1 addition & 3 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@
};
// fs special handling start :patch the fs.readBinaryFile and fs.WriteBinaryFile apis to use this windows uint8arrays
for (let key in window.top.window.__TAURI__.fs) {
if (window.top.window.__TAURI__.fs.hasOwnProperty(key)) {
window.__TAURI__.fs[key] = window.top.window.__TAURI__.fs[key];
}
window.__TAURI__.fs[key] = window.top.window.__TAURI__.fs[key];
}

const readBinaryFile = window.__TAURI__.fs.readBinaryFile;
Expand Down

0 comments on commit 6879a6e

Please sign in to comment.