Giter Club home page Giter Club logo

backoffice's People

Contributors

alexchuvand avatar benhoad avatar caspiano avatar dependabot[bot] avatar jeremy-west avatar kimburgess avatar mryuion avatar semantic-release-bot avatar stakach avatar tassja avatar w-le avatar

Stargazers

 avatar

Watchers

 avatar  avatar

backoffice's Issues

Create New User -> Name is Blank

Describe the bug
Creating a new user in Backoffice, after saving the user is created but the name is blank.

To Reproduce
Steps to reproduce the behavior:

  1. Go to users.
  2. Add new user.
  3. Enter required details, name, email etc.
  4. Save new user
  5. New user will appear in the user list with no name

Expected behavior
Username should be shown in the user list and when inspecting the user.

Screenshots
If applicable, add screenshots to help explain your problem.
Screen Shot 2020-04-20 at 3 06 57 pm

add support for zone parent selection

Zones can now have parents

  • field name is parent_id - so could you please add a zone dropdown in new and edit
  • Have a tab for viewing the children of a zone - same as the get a list of zones request with the param parent=zone-parent-id

Please filter out the current zone_id from the results when showing that zone. As we don't want a zone to be its own parent

Debug dialogue should never auto-close

Describe the bug
Debug dialogue auto-closes. This is an issue as often you want to stop debugging so you can scroll around the debug window freely.

Basically you are capturing information and then you want to analyse that information (without it jumping to the bottom when new data comes in - so you'll stop debugging to do this)

To Reproduce
Steps to reproduce the behavior:

  1. debug a driver
  2. stop debugging (so you can look at the history of the debugging output)
  3. debug window disappears

Expected behavior
Once the debug window is open, the user should be able to toggle it open and closed
Auto-open is good and it should never auto-close.

Screenshots
image

Users -> Edit User Generates Error

Describe the bug
Editing a user to add the username after creation causes an error when saved.

To Reproduce
Steps to reproduce the behavior:

  1. Go to users
  2. Edit a user
  3. Change/Enter something in the name field
  4. Save
  5. Error

Expected behavior
User should save with updates.

Screenshots
If applicable, add screenshots to help explain your problem.
Screen Shot 2020-04-20 at 3 09 52 pm

Support Interface Repositories

  • you SHOULD NOT be able to change the commit on a Driver repository
  • you SHOULD be able to change the commit on an Interface repository
  • commits for interfaces are for the purpose of rolling back, so do not fetch the commits when creating an Interface repository
  • you SHOULD use the commits endpoint when someone wants to update an Interface repository

relevant PR: PlaceOS/rest-api#21

Edit Zone -> Has Multiple Tags

Describe the bug
When editing a zone it shows the zone has multiple tags which are not readable although the zone itself only shows a single tag.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a zone with a tag.
  2. Click edit.
  3. Observe tag field in edit modal and compare with actual tags.

Expected behavior

  1. If multiple tags in edit modal they should all be expandale and/or readable.
  2. Tags in edit modal should match zone tags.

Screenshots
If applicable, add screenshots to help explain your problem.
Screen Shot 2020-04-17 at 11 24 52 am

System Add new button behaviour

The field module.control_system_id is really only for logic modules where it must be set.
For all other types of drivers it should not be set in 99.99% of cases

image

You probably shouldn't be able to change this to a different system either (as you are adding it to the system you are currently viewing)

image

Display and edit settings

Display and allow editing of settings for Zone, Driver, System and Module at Unencrypted, Support and Admin encryption levels.

There should be a view of the merged results.

Scrolling behaviour when debugging modules

When the debug box is open, everytime a new message comes in it scrolls to the top, but the new messages come in at the bottom.

Could you please change it to scroll to the bottom. Thanks πŸ‘

debug box:
image

Admin -> License Management

Describe the solution you'd like
Under the admin section, it would be great if we had a license management tab where we can see how many system licenses are consumed and set the number of licenses purchased via the client.

Using an internal account we can increase or decrease the amount of purchased licenses, in turn preventing the client from adding more licenses without limit than what they have purchased.

Describe alternatives you've considered
Nil

Additional context
Prevent additional license usage beyond what has been purchased.

Debug console never closes, just goes invisible

When closed (even if never opened) the console prevents interaction with anything that would otherwise be obscured by the console at it's default open size.

If you resize it, it still only obscures interactions under where the console would be at its default size.

Bit of a weird one, luckily it's not usually obscuring too much usually but was a strange but as the mouse still changes for the resize hovers (tested in chrome)

New driver, changing repository selection

When adding a new driver, if you select the wrong repository and then switch to a different one
image

Then the driver list doesn't update and remains listing the old driver list.

Domains -> Application List Empty But Count Valid

Describe the bug
Viewing the application list it is empty but the header shows it does have items counted.

To Reproduce
Steps to reproduce the behavior:

  1. go to domains
  2. select a domain
  3. click applications

Expected behavior
List of applications should be shown to match the count.

Screenshots
If applicable, add screenshots to help explain your problem.
Screen Shot 2020-04-20 at 4 45 57 pm

Cannot stop modules

When viewing an individual module, the 'Stop Module' button does not generate any requests when interacted with.

Similarly, when on a system view, interacting with the module state control always results in a start request being sent.

hide the system selection unless a logic on add module

  • For a logic module, configuring the system via the selection drop down is a requirement
  • For all other types, hide this drop-down

When adding a module from the control system view, never show the system dropdown
(continue showing the pre-selected system when adding a logic module)

Executable drop down to check run state

You can't get function signatures from module that is not running.

Please check the state of the module and disable selection of modules that are not running from the executable drop-down.

This also applies to the view-state and reload-module options on the pop-out menu

Weird add new behaviour

Looks like add new list is being filtered by the front-end?
On one system I have the option to add two modules, on the other only one.
Makes the same request to the backend which returns both results.. But front-end is only showing one result and only in this system.. Refreshing the page made no difference either.

image

Then the other system
image

Engine clusters - viewing processes

Weird behaviour where the request succeeds but then also gets a timeout?

image

image

image

This one really trips me out as I thought they were both the same request?

I have a feeling this might only be happening to me and the requests are being load balanced between two services sharing the port?
Is this something that ever happens to you @caspiano ?

Like it's probably nothing to do with Backoffice @MrYuion - just putting this issue here for discussion.

Add existing module list details

  • This list needs the details (IP or URI) displayed in the same way as the modules tab
  • logic modules should not appear on this list (as they can only exist in a single system)
  • How does searching work? I can't seem to filter using IP address for instance

image

Users -> Add Existing User Error

Describe the bug
When adding a new user that duplicates an existing users email address it generates an error and fails to save - can the error message be descriptive to point the user to the actual failure? Current Ajax error does not assist in triaging the issue.

To Reproduce
Steps to reproduce the behavior:

  1. Go to users.
  2. Add new user.
  3. Create new user with same email address as an existing user.

Expected behavior
Error should state user could not be saved as email already exists.

Screenshots
If applicable, add screenshots to help explain your problem.
Screen Shot 2020-04-22 at 4 11 48 pm

View error

View error on a failed execute request does not show the error response.

Screenshot_2020-03-20 Systems PlaceOS

Screenshot_2020-03-20 Systems PlaceOS(1)

module run state icons

Please add a header to the colour column state

Colours for regular browser mode:

  • black, not running
  • red, running and disconnected (live state from binding)
  • green, running and connected (live state from binding)

Default to the database listed connected state until the binding data comes through

For dark mode:

  • white for not running

Merged settings do not show until after edit

Describe the bug
When viewing a system, settings inherited from zones do not display in the "Merged" tab until after an edit has been made to the system level settings.

To Reproduce
Steps to reproduce the behavior:

  1. Apply setting to a zone
  2. Navigate to a system within this zone
  3. Look at "Merged" tab - zone level settings do not show
  4. Edit system level settings
  5. Move backed to "Merged" tab - both zone and system level settings now show.

Expected behavior
"Merged" tab should show full merged settings when viewed.

Newly added modules at the top of the list

Adding a module to a system causes it to appears at the top of the list.

image

After Selecting another system and then coming back or refreshing, then the module is at the bottom of the list, where it should be.

Zones -> Children Count not Updated

Describe the bug
Where a zone has multiple children the count is not updated in the nav bar.

To Reproduce
Steps to reproduce the behavior:

  1. Add children to a zone.
  2. Go to the Children page.
  3. Children list will be shown but count remains at one in the navigation

Expected behavior
Children count should reflect the number of children items in a zone.

Screenshots
If applicable, add screenshots to help explain your problem.
Screen Shot 2020-04-17 at 11 14 27 am

Desktop (please complete the following information):

  • OS: OS X
  • Browser: chrome

Domains -> Applications not Shown

Describe the bug
Applications shows a count of 4, I know there are applications there but they are not shown.

To Reproduce
Steps to reproduce the behavior:

  1. Go To Domains -> Applications
  2. No Applications are shown despite the count.

Expected behavior
Applications are shown.

Screenshots
image

Parse the values before displaying module state

Basically it would be a waste of processing to parse each value on the server-side (as the main purpose of this API is debugging)
So before displaying the state can you parse each keys value?

image

When adding a driver some details are not filled in

The details request returns defaults such as port which are not being used currently.
The various fields that can be returned are: details response => driver add form field

name => Name
generic_name => Module name
description => Description
tcp_port => Default Port number
udp_port => Default Port number
uri_base => Default URI
default_settings => to be added to unencrypted settings as a second API call after object creation

If possible the default settings should be placed into the unencrypted settings object (this will require a second API call however it is definitely useful and required to make things seamless)

image

In terms of the driver role

  • If tcp_port or udp_port are present then default it to Device
  • if uri_base is present then default it to Service
  • otherwise default it to Logic as it does currently

Start and stop driver weirdness

image

When clicking toggle on a running and disconnected module, it calls start and notifies that stop was successful.

image

Experimentally it seems to be toggling based on connected status, versus the running state (where it should be using running state as the only indicator)

The notification always indicates that the module was stopped no matter if it calls start or stop.

Zones -> Parent Dropdown Not Working

Describe the bug
When adding a new zone, entering text in the parent zone should produce a dropdown with a list of available zones to select as parent.

To Reproduce
Steps to reproduce the behavior:
1.Add new zone.
2. Start typing in parent zone field.
3. no drop down.

Expected behavior
drop down should be available to select zones filtered by text entered.

Screenshots
If applicable, add screenshots to help explain your problem.
Screen Shot 2020-04-24 at 11 53 09 am

Drivers -> Date on Commit

Describe the solution you'd like
Is it possible to a show a date with the commit hash to make it easier to identify, having to correlate with the hash to find the latest is not ideal.

Describe alternatives you've considered
Having the commit selector to default to the most recent if no commit is selected?

Screen Shot 2020-04-20 at 3 21 44 pm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.