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

Admin app rework #742

Closed
5 tasks done
James-Mart opened this issue Jun 17, 2024 · 7 comments · Fixed by #761
Closed
5 tasks done

Admin app rework #742

James-Mart opened this issue Jun 17, 2024 · 7 comments · Fixed by #761
Assignees
Labels
System app Related to system services and their apps/plugins
Milestone

Comments

@James-Mart
Copy link
Member

James-Mart commented Jun 17, 2024

Description

The admin app needs to be revamped for increased usability and functionality.
Primary use-cases for the app:

  1. Creating a new psibase network
  2. Joining an existing psibase network
  3. Configuring a node that has already joined a network
  4. Monitoring a node that has already joined a network

This task is primarily focused on the first 3 use-cases, as monitoring is lower priority than network creation/joining at this stage.

Tasks

Tasks


@Velua feel free to add any notes or items that I am not remembering from our conversation

@James-Mart James-Mart added the System app Related to system services and their apps/plugins label Jun 17, 2024
@James-Mart James-Mart modified the milestones: R1, R2 Jun 17, 2024
@Velua
Copy link
Contributor

Velua commented Jun 18, 2024

Paths

  • Join network or create network
    • Upgrade to block producing node
      Create network should immediately resolve to block producing form, join network won't.
      Connection to the network is done with a single node, multiple URLs not needed

Peers page

  • Should be allowed to terminate connections
  • Switch between transient and persistent connections.
  • Wishlist: Show ping for connections
  • Wishlist: See connection account name

Logs page

  • Should be able to toggle between remembering the last 25 logs and all logs.

New dashboard page

Some kinda welcome page for something cute, Grafana may or may not be running so cannot assume it's going to be ready like we currently do.

@Velua
Copy link
Contributor

Velua commented Jul 1, 2024

  • Rename BlockProducer name to NodeAccountName on the Join network flow.

Create Page

Radio boxes as part of the Create network wizard,
Ask between dev and prod (difference is the TokenUsers package)
Ask between None governance and fractal democracy (disabled for now as we don't have it)
These questions compose the DataTables tick boxes determinine what gets installed.
The table is hidden by default and openable via a "Custom settings" accordion which displays a data table.
Unticking A will cause a dialog to ask confirmation that B and C is also lost as a consequence.

Join Page

  • Connect to URL - Send a API request to check it's online and responding before moving to next page.

@Velua Velua linked a pull request Jul 16, 2024 that will close this issue
6 tasks
@James-Mart
Copy link
Member Author

James-Mart commented Aug 5, 2024

Misc feedback gathered while testing the latest update

Boot wizard

  • The Webmail package isn't selected by default when booting with development boot template, even though the Default package depends on it.
  • Each page of the boot wizard should each have a title (like the "Installation Summary" title). (e.g. "Select Boot Template" and "Name Yourself")
  • Could you add a little subtitle underneath the "Advanced" accordion that gives users an idea why certain packages are selected. Something like: "Selected packages correspond to selected boot template".

Post boot landing page

  • The psibase icon in the nav bar should work with both light and dark mode
  • Is the "Ram Usage" thing really talking about RAM? Whose RAM? Why does it say Firefox is consuming RAM even though Firefox isn't running on my pc or my node.

@James-Mart James-Mart mentioned this issue Aug 5, 2024
6 tasks
@swatanabe
Copy link
Collaborator

* [ ]  Is the "Ram Usage" thing really talking about RAM? Who's RAM? Why does it say Firefox is consuming RAM even though Firefox isn't running on my pc or my node.

It's a breakdown of physical RAM used by the psinode process (unrelated to any billing). "Firefox" (and "Edge") are just wrong labels.

@Velua
Copy link
Contributor

Velua commented Aug 8, 2024

* [ ]  The Webmail package isn't selected by default when booting with development boot template, even though the Default package depends on it.

I believe this is just a side effect of cross contamination of build artifacts as I have this issue previously when messing with Brandons PR and has since left after doing an entirely fresh build. @James-Mart

@James-Mart
Copy link
Member Author

James-Mart commented Sep 3, 2024

  • Rename BlockProducer name to NodeAccountName on the Join network flow.
  • Connect to URL - Send a API request to check it's online and responding before moving to next page.

@Velua Were these completed?

@Velua
Copy link
Contributor

Velua commented Sep 3, 2024

Don't think so, I've raised #829 @James-Mart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
System app Related to system services and their apps/plugins
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants