Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable cloud backend for unverified users; use local backend as default backend; minor bugfixes #6779

Merged
merged 17 commits into from
May 23, 2023

Conversation

somebody1234
Copy link
Contributor

@somebody1234 somebody1234 commented May 19, 2023

Pull Request Description

  • Displays a message on the dashboard when using the remote backend, when a user account has been fully created, but has not yet been approved by an admin.
  • Sets the default backend to the local backend
  • Fixes Project Manager reconnection logic (was previously broken)
  • Change loading spinner to appear only when backend is being changed
  • Hide "Open as folder" context menu option, when on local backend
  • Preserve URL query string during live reload

Important Notes

A lot of lines of code show as changed, but that's mostly a side effect of dashboard.tsx currently being monolithic.
This PR also fixes a minor bug with the service workers, that prevent them from properly handling URLs with query parameters.

Screenshots

Screenshot taken on cloud frontend, which is why the backend switcher is not visible.
It has been tested on ide watch as well.
image

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
  • All code follows the
    Scala,
    Java,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • All code has been tested:
    • Unit tests have been written where possible.
    • If GUI codebase was changed, the GUI was tested when built using ./run ide build.

@somebody1234 somebody1234 added the CI: No changelog needed Do not require a changelog entry for this PR. label May 19, 2023
@somebody1234 somebody1234 changed the title Disable cloud backend for unverified users Disable cloud backend for unverified users; use local backend as default backend May 19, 2023
@PabloBuchu
Copy link
Contributor

QA 🟢 we should merge it I guess as soon as possible. @sylwiabr you want to give it a try?

@somebody1234
Copy link
Contributor Author

added two minor fixes, which should not affect QA results as they are extremely minor.

@somebody1234 somebody1234 changed the title Disable cloud backend for unverified users; use local backend as default backend Disable cloud backend for unverified users; use local backend as default backend; minor bugfixes May 19, 2023
@PabloBuchu PabloBuchu merged commit e35bc17 into develop May 23, 2023
@PabloBuchu PabloBuchu deleted the wip/sb/accounts-awaiting-validation branch May 23, 2023 09:05
Procrat added a commit that referenced this pull request May 23, 2023
* develop:
  Use state sent with `GET /directories` instead of querying state separately (#6794)
  Run TypeScript typechecking and eslint on Lint CI (#6603)
  Disable cloud backend for unverified users; use local backend as default backend; minor bugfixes (#6779)
  Reloading file in LS after desynchronization. (#6752)
  Missing conversion of hash key in EqualsNode (#6803)
  feat: set constructor args tag values (#6801)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: No changelog needed Do not require a changelog entry for this PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants