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

Start Front design #13

Open
wants to merge 18 commits into
base: network
Choose a base branch
from
Open

Start Front design #13

wants to merge 18 commits into from

Conversation

KwikKill
Copy link
Member

@KwikKill KwikKill commented Oct 9, 2024

Description

This PR add a lot of things :

  • Improve back consistency
  • Add first front design
  • Add table component
  • Add management tab
  • Handle login, logout in both front and back
  • Handle User, Device management in both front and back
  • Handle database wipe (front side)
  • Handle different login case :
    • Known Device
    • New device
    • Known Device but different user
    • ...

Checklist

  • I have tested the changes locally and they work as expected.
  • I have tested the responsiveness of the changes and they work as expected.
  • I have assigned the pull request to the appropriate reviewer(s).
  • I have added labels to the pull request, if necessary.

Related Issues

Fix #3, #4, #5, #6, #7, #8

@KwikKill KwikKill added enhancement New feature or request priority: emergency labels Oct 9, 2024
@KwikKill KwikKill self-assigned this Oct 9, 2024
@KwikKill KwikKill changed the base branch from dev to network October 9, 2024 21:42
Copy link
Member

@TheBloodMan49 TheBloodMan49 left a comment

Choose a reason for hiding this comment

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

Left my comments IRL, it seems to be working as intended now so LGTM

Copy link
Member

@SkytAsul SkytAsul left a comment

Choose a reason for hiding this comment

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

Only checked the backend- seems lgtm

Copy link
Member

@pixup1 pixup1 left a comment

Choose a reason for hiding this comment

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

Indentation sizes seem to be inconsistent, why did you switch back to 2 spaces ? Some files like netcontrol.py even have a mix of the two widths (💀)

@pixup1
Copy link
Member

pixup1 commented Oct 16, 2024

Also a little ergonomy nitpick : When you add an invalid user (i.e. password too short) and press "Valider", it closes the input prompt and shows an error notification. It would probably be better to keep the prompt open so that you can directly correct the mistake instead of having to type everything again. The notification is good though (maybe the invalid field could flash in red as well ?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

User login Admin page Add admin user API Complete the models Add static home page
4 participants