Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
D
dashboard
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 4
    • Merge Requests 4
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

  • Confidential and Proprietary
  • BlocPower
  • dashboard
  • Merge Requests
  • !130

Merged
Opened Oct 24, 2017 by Tillie Kottmann@deletescapeOwner

Sensor

  • Overview 1
  • Commits 27
  • Changes 30

Created by: cschloer

A view for creating and editing sensor data on the dashboard

- Top level parent sensor with Senseware, Awair and Other
- 3 node types for senseware: Boiler, Apartment and Repeater
   - Forms specific to each node
   - Can create as many sensors/nodes as you want
   - Apartment node has 3 inputs (node_wall_type, node_location and tenant_heating_issue) that are dropdown menus with an Other option that supports free text input
- Notes for all sensors/nodes
- Display name that is generated from the form inputs (different for each sensor/node type) + easy copy of the text
- Forms are all auto-saving and offline aware
   - Yellow object title bar when an object has not saved yet (saving occurs once every second)
   - Red object title bar when an error occurs while saving (with error text at the top)
   - Green success message at top of screen on successful save/create
   - Yellow message at top of screen when offline notifies the user how long it has been since the data has been saved
   - Text next to object title notifies the user if an object was created offline

Relies on OLTP update and new iotservice https://github.com/Blocp/oltp/pull/46 https://github.com/Blocp/iotservice/pull/1

The only new .env variable is the URL for iotservice: REACT_APP_IOT_SERVICE=http://0.0.0.0:5408

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: exconfidential/blocpower/dashboard!130
Source branch: sensor