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

rework auth to use a list of servers #1040

Merged
merged 9 commits into from
Sep 4, 2024
Merged

rework auth to use a list of servers #1040

merged 9 commits into from
Sep 4, 2024

Conversation

hahn-kev
Copy link
Collaborator

new home page
image

As you can see there's now a list of servers to login to, this list is defined as a configuration value, so devs can add whatever servers they want, by default users will use lexbox.org, but they could override that if they wanted (todo on how exactly to implement that). Each of those servers we fetch a list of CRDT projects from, we then match that with the local project list (for now it's just name based, but we can match on project Id in the future).

The big question is how to handle uploading new projects. Previously there was just one button and it would upload to the one server. Should we instead have the upload handled on the project page? then the user can pick the server to upload (unless there's only 1). The question then is how to handle creating that project server side. Should we do it for the user? should we only allow uploading to an empty project?

Copy link

github-actions bot commented Aug 28, 2024

UI unit Tests

12 tests  ±0   12 ✅ ±0   0s ⏱️ ±0s
 4 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit f08ad6e. ± Comparison against base commit aae528a.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Aug 28, 2024

C# Unit Tests

66 tests   66 ✅  5s ⏱️
11 suites   0 💤
 1 files     0 ❌

Results for commit f08ad6e.

♻️ This comment has been updated with latest results.

# Conflicts:
#	backend/FwLite/LocalWebApp/LocalWebApp.csproj
#	backend/FwLite/LocalWebApp/Services/LexboxProjectService.cs
Copy link
Contributor

@rmunn rmunn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I'll have to think about the question of uploads; I don't have an immediate feel for what would be best. Maybe we can discuss it at the meeting later.

@hahn-kev hahn-kev merged commit 2f9974f into develop Sep 4, 2024
20 checks passed
@hahn-kev hahn-kev deleted the feat/rework-auth branch September 4, 2024 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants