storj/web/satellite
hovex023 688b3907ab
web/satellite: Implement New Create Access Grant Wizard. (#4821)
Created and style modal-added open and close functionality
Added logic to access grants selection type
Changed CLI to API-Changed Types to radio buttons-Added date picker-Added buckets list(not yet populating with buckets)
Added permissions check box logic and new input field for buckets.
Added tooltips and hover logic for the tooltips
Added acknoledgement functionality to encrypt step
Added conditional logic to encrypt access button and the ascknoledgement box - removed blank comments from paymentMethods snapshot
Added logic to retrieve restricted api key, access credentials, and satellite address
Added copy functionality and download functionality for the credentials step

Change-Id: I8c8f02bc1ee38c3df42396cbd9bb3db2e7ff9cc4

Co-authored-by: cl-mitch <mitch.george@compozelabs.com>
2022-06-03 13:03:36 -05:00
..
scripts ci: optimize benchmarks 2021-10-08 19:42:40 +03:00
src web/satellite: Implement New Create Access Grant Wizard. (#4821) 2022-06-03 13:03:36 -05:00
static web/satellite: Implement New Create Access Grant Wizard. (#4821) 2022-06-03 13:03:36 -05:00
tests/unit web/satellite: Implement New Create Access Grant Wizard. (#4821) 2022-06-03 13:03:36 -05:00
.env satellite: added ability to inject stripe public key post build (#3560) 2019-11-18 13:38:43 +02:00
.eslintrc.js web/satellite: bump dependencies 2022-05-04 15:02:01 +00:00
.gitignore web/satellite: regular header reworked 2021-04-27 16:40:48 +00:00
.stylelintignore web/: add custom linter for requiring @vue/component 2021-09-01 13:56:37 +00:00
.stylelintrc.js web/{multinode,storagenode,satellite}: update stylelint 2022-05-05 15:47:44 +03:00
index.html web/satellite added new billing screen feature flag (#4836) 2022-06-02 09:30:27 -05:00
jest.config.js web/satellite/jest.config: Always use UTC 2022-05-10 17:46:37 +00:00
jest.setup.ts web/satellite: bump dependencies 2022-05-04 15:02:01 +00:00
package-lock.json satellite/console,web/satellite: Implement hCaptcha 2022-05-13 14:57:45 +00:00
package.json satellite/console,web/satellite: Implement hCaptcha 2022-05-13 14:57:45 +00:00
README.md web/satellite,satellite/console: Overhaul password reset 2021-08-12 17:40:53 +00:00
tsconfig.json web/satellite: bump dependencies 2022-05-04 15:02:01 +00:00
vue.config.js Revert "web/satellite: use aws-sdk v3" 2022-05-13 09:31:12 +00:00

storj-dev-panel

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

Run your unit tests

npm run test:unit

Build docker container

From root of the repository, run:

make satellite-ui-image

Run docker container

docker run -p 8080:8080 storjlabs/satellite-ui:latest

1. Project structure:

  • src folder: contains main project components such as api, store, router, etc.
  • static folder: contains all project static resources such as images, fonts, pages.
  • tests folder: - contains project unit tests.
  • configuration files.

src

  • api folder: contains API for project modules such as auth, project, etc. We are using both GraphQL and HTTP implementations.
  • components folder: contains hierarchy of vue single file components sorted thematically.
  • router folder: contains project browser locations structure file.
  • store folder: contains global state management file broken into modules.
  • types folder: contains project classes and types.
  • utils folder: contains constants, plugins and utility files for formatting, validation, data transferring, etc.
  • views folder: same as components, but for root ones.
  • App.vue root project component.
  • main.ts Vue instance initialization file. Here filters and declarations are placed. Also plugins, store and router are connecting to Vue instance.

static

  • activation folder: contains page template that appears after account verification via email.
  • emails folder: contains all emails templates.
  • errors folder: contains 50x and 40x error pages templates.
  • fonts folder: contains Inter font sets in ttf format.
  • images folder: contains illustrations.
  • reports folder: contains usage report table template.

tests

  • unit folder: contains project unit tests.

Configuration files

  • .env: file for environment level variables.
  • .gitignore: folders, files and extensions which are ignored for git.
  • babel.config.js: babel configuration for javascript transcompilation.
  • index.html: DOM entry point.
  • jestSetup.ts: jest configuration for unit testing.
  • package.json: file holds various metadata relevant to the project such as version, dependencies, scripts and configurations.
  • tsconfig.json: holds TypeScript configurations.
  • tslint.json: holds TypeScript linter configurations.
  • vue.config.js: holds Vue configurations.