Commit Graph

1473 Commits

Author SHA1 Message Date
Lizzy Thomson
7d745ac578 web/satellite: update wording from decentralized to distributed cloud
Issue https://github.com/storj/storj/issues/5873

Change-Id: I0cb1032a6513289482e56dabefff934a8d722134
2023-05-24 17:12:52 +00:00
Wilfred Asomani
715b9f0299 web/satellite: fix table cells styling
This fixes an issue where the "primary" class will be applied to the
wrong table cell. Also, truncation for long file names is fixed.

Change-Id: I6303f4b7d3a7a064f8dc79fac90b0bc2d5eb5024
2023-05-24 16:24:28 +00:00
Vitalii
98591f34f9 satellite/{web, console}: implemented new objects uploading hover component
Added new feature flag.
Implemented new objects uploading hover component.

Issue:
https://github.com/storj/storj/issues/5825

Change-Id: If43ade5db33aecba6c089ce727503518c59f6ffc
2023-05-23 15:52:41 +00:00
Wilfred Asomani
250704493d web/satellite: fix frozen status banners not showing
This change moves the call to fetch user's frozen status into the
getUser store action. It fixes an issue where the froze status banners
will not show.

Change-Id: I1a1853d5a89502e294848ceb6a8566120ecd4c10
2023-05-19 17:06:28 +00:00
Wilfred Asomani
09311b22ca web/satellite: add role column to project members table
A "Role" column has been added to the project members table to indicate
the roles of the members in the project.

Issue: https://github.com/storj/storj/issues/5743

Change-Id: I991b01e3d2cd792c21bd661feb7a225300d9a86b
2023-05-18 16:16:00 +00:00
Moby von Briesen
19cb08b025 web/satellite: add "public linksharing URL"
* Update defaults for gateway credentials URL and linksharing URL to use
  storjsatelliteshare.io instead of storjshare.io
* Add new config for "public linksharing URL" and set it to
  link.storjshare.io
* Use "private" linksharing URL for actions within the object browser
* Use "public" linksharing URL for sharing files externally

Resolves https://github.com/storj/storj/issues/5805

Change-Id: I2c8fbd04141755b4751dcf4d054253a7ff8d6cf3
2023-05-18 07:02:26 +00:00
Wilfred Asomani
a2a603aee8 web/satellite: rightly navigate to pricing plan page
A navigation is prevented to the onboarding if no project is selected.
However, an exception was not made for the pricing plan page and caused
the pricing plan page not to show even under passing conditions. This
change makes that exception for the pricing plan page.

Change-Id: I72ddb942a0059d748a13da0b6038b99b9b5064af
2023-05-17 19:35:37 +00:00
Vitalii
ace0ef89a2 web/satellite: migrated Vue 2 to Vue 3
Finally migrated web/satellite UI to use Vue 3.

Issue:
https://github.com/storj/storj/issues/5862

Change-Id: I609e2332142b9092d6efeb2d4b931e34cce846cc
2023-05-17 17:31:03 +00:00
Wilfred Asomani
e9fc4e9d0f web/satellite: fix billing page nav on all dashboard
This change fixes an issue where clicking "Billing" on all projects
dashboard won't navigate to the billing page.
This also makes sure an error notification for projectID is not shown
after the user is back on the all projects dashboard from team page.

related: https://github.com/storj/storj/issues/5875

Change-Id: Ie6517c9006d1a780f307f6282f83c749d369adaf
2023-05-16 15:14:18 +00:00
Wilfred Asomani
5fede0ce95 web/satellite: fix no project id provided error
This change fixes an error when all projects dashboard is enabled where
there will be no project selected and an error "projectid not provided"
will be thrown.
It navigates back to the all projects dashoard so the user can select
a project.

Issue: https://github.com/storj/storj/issues/5875

Change-Id: I144c4bbd3782dcdf40b2ed2be445c7f100c36b32
2023-05-15 10:23:32 +00:00
Wilfred Asomani
331a3348a0 web/satellite: mod project options menu for all projects dashboard
The project options has been modified to account for whether the all
projects dashboard is enabled or not. The "Manage projects" item is
hidden, and an "All projects" item is added if it is enabled.

Issue: https://github.com/storj/storj/issues/5866

Change-Id: Ic2e8337d2e5577d1c27231287ab3284145fa5b9b
2023-05-12 20:10:33 +00:00
Wilfred Asomani
b11ba50b94 web/satellite: hide sidebar on onboarding
The sidebar previously was showing on the onboarding pages when all
projects dashboard is enabled. This change hides it and also hides the
"session timeout" info banner which was also showing on onboarding.

Issue: https://github.com/storj/storj/issues/5874

Change-Id: Ie418a6f286262b59dce41aba98a5c9d0015cb984
2023-05-12 18:57:02 +00:00
Vitalii
277a4c6aa3 web/satellite: updated project dashboard data cards
Updated cards to show access grants count, buckets count, team size and billing status for current project

Issue:
https://github.com/storj/storj/issues/5865

Change-Id: I7e8d3aa3e05548d593576c3a0633e9eb51f38cff
2023-05-12 14:43:09 +03:00
Vitalii
083b3d6fc1 web/satellite: added modal to update single project limit
Added new modal where user can update storage or bandwidth limit (if Pro tier).

Issue:
https://github.com/storj/storj/issues/5827

Change-Id: Ic3ae6b7a73d055b4eac93d4e2faad7bf26cb9d73
2023-05-12 11:38:39 +00:00
Vitalii
b91f72f08a web/satellite: added limit cards on project dashboard
Added storage, bandwidth, segment, free tier and coupon cards to project dashboard.

Issue:
https://github.com/storj/storj/issues/5827

Change-Id: Iaf974273a34c8ed3faf1974876fa685074d5ae61
2023-05-12 14:36:53 +03:00
Cameron
52ff7a66a0 web/satellite: use color palette instead of hex colors for button
Change-Id: I1da9c1927c2768e86f3887477250ae833e29439e
2023-05-10 17:54:26 +00:00
Cameron
e8e6dd056a web/satellite: remove project member modal
Create modal for removing project members

issue: https://github.com/storj/storj/issues/5751

Change-Id: I621b8e1de54270faebb7577b8431903c62a6e45c
2023-05-08 11:36:56 +00:00
Wilfred Asomani
fb1a0cc784 web/satellite: redesign and allow enter passphrase skip
This change allows users to skip the enter passphrase modal and opt in
for that choice to be remembered. The enter passphrase modal is also
redesigned.

Issue: https://github.com/storj/storj/issues/5818
Issue: https://github.com/storj/storj/issues/5616

Change-Id: Ie1cf6602682af3e9625656455fa3c096a24b95d3
2023-05-08 10:52:49 +00:00
Wilfred Asomani
e3573f44ea web/satellite: update project member invite modal
The project member invite modal has been updated to match the new figma
design.

Issue: https://github.com/storj/storj/issues/5744

Change-Id: I9ed7ad4ede0fb6f7f42f56b2d8386e12a5a5b6c1
2023-05-05 19:46:28 +00:00
Cameron
2bb636684e web/satellite: update create bucket modal
issue: https://github.com/storj/storj/issues/5817

Change-Id: Ia86e0bad8de180fb4e6dde3ed194c9ce6f4f12f1
2023-05-05 17:50:58 +00:00
Wilfred Asomani
4ab433ba89 satellite/{web,console}: make duplicate member error readable
This change makes the error thrown when adding an existing member to a
project readable.

Issue: https://github.com/storj/storj/issues/5840

Change-Id: I4269495f9b7b09c77fbf1af1fc605e5c95bd7cbf
2023-05-05 16:46:12 +00:00
Vitalii
a8ba7aa263 web/satellite: small styling updates for access grant flow
Fixed Copy and Download buttons.
Fixed wording styling.
Also fixed VButton's hover state if there is an icon.

Issue:
https://github.com/storj/storj/issues/5774

Change-Id: I9fbac12fe433817f4b5fc1d885f50e6f27e7f6a0
2023-05-04 17:33:06 +00:00
Vitalii
73898e0d86 web/satellite: make graph line more smooth
Made lines to be more smooth and also updates points styling

Issue:
https://github.com/storj/storj/issues/5826

Change-Id: I34229e772ceee5e48330f5662a584cd9dcd8c63d
2023-05-04 15:20:31 +00:00
Wilfred Asomani
034431e4a8 web/satellite: update session timeout modals
This change opens up the "set session timeout" modal for users to set a
custom timeout duration if they haven't already.
It also fixes a few UI/UX issues on the modal including toggling on the
dashboard.

Issue: https://github.com/storj/storj/issues/5770

Change-Id: I0e71e191049b242e638ca36214d6dd33f78ae5fe
2023-05-03 13:59:50 +00:00
Lizzy Thomson
25f2305e00 web/satellite: removed google fonts from satellite emails
update fonts in satellite emails by removing google fonts

Issue - https://github.com/storj/storj/issues/5690

Change-Id: I9243c172e52d780800300dca2ec78b5665979eda
2023-05-02 16:10:34 +00:00
Wilfred Asomani
bf630b7efa web/satellite: update team page design
This change the projects members (team) page to match the figma.

Issue: https://github.com/storj/storj/issues/5742

Change-Id: I5d4ef4478612a5c397b795c9b0b9b364fd16e4a4
2023-05-02 15:34:02 +00:00
Moby von Briesen
90692362c6 web/satellite: fix link
Link to end-to-end encryption page on docs.storj.io is incorrect. This
change fixes it.

Change-Id: I61c942e2d2b3bcd9ad0d51451027207a9eeb36f0
2023-04-28 18:51:22 -04:00
Vitalii
3f1166b5aa web/satellite: added update your session timeout banner
Added new banner to inform user that they can update their session timeout now.

Issue:
https://github.com/storj/storj/issues/5772

Change-Id: Icdf2164b80b12954d004537a4f31d30ef6bb12b8
2023-04-28 11:17:06 +00:00
Vitalii
30dee52256 web/satellite: rework delete access grant modal
Reworked delete access grant modal to be more simple.

Issue:
https://github.com/storj/storj/issues/5775

Change-Id: I415e75458736522f17914f252be531db5a2313f7
2023-04-27 21:26:38 +00:00
Vitalii
978b714128 web/satellite: rework open bucket modal styling
Reworked open bucket modal styling to correspond to create access grant flow

Issue:
https://github.com/storj/storj/issues/5819

Change-Id: I618b50472e45413a63a531ad959d9af69511d464
2023-04-27 16:10:27 +00:00
Vitalii
48f920809f web/satellite: rework styling of manage project passphrase modals
Reworked styling of manage project passphrase modals to crrespond to create access grant flow.

Issue:
https://github.com/storj/storj/issues/5815

Change-Id: Iab02d2d94239d9e8c7f85a498fb3a3d83ece34e0
2023-04-26 20:39:11 +00:00
Vitalii
2e2978d647 web/satellite: rework styling of create project passphrase flow
Reworked styling of create project passphrase flow to be consistent with create access grant flow.

Issue:
https://github.com/storj/storj/issues/5815

Change-Id: I54db5b3c37a8cf96d939bfcb99cf0896af25c4cc
2023-04-26 20:03:49 +00:00
Wilfred Asomani
4929ae3c08 web/satellite: improve table pagination
This change modifies the existing table pagination to match the figma.

Issue: https://github.com/storj/storj/issues/5765

Change-Id: Ic9c57072509705c3cb946b1b6764fd09ba616ceb
2023-04-26 19:07:17 +00:00
Wilfred Asomani
774ac50528 web/satellite: migrate vue filters
This change removes vue filters declared in main.ts and replaces them
with exported functions in utils/strings.ts. This is toward migration
to Vue 3; it has no support for filters.

Issue: https://github.com/storj/storj/issues/5063

Change-Id: I0f0e73f5a4ba3300cd8804b083b18c05e614fa8c
2023-04-26 13:01:21 +00:00
Wilfred Asomani
b4ac006462 web/satellite: sync timeout modal with user session timeout
This change updates the session timeout modal to be triggered based on
the user's selected session timeout instead of the default config value
that is if the user has set a custom session timeout duration.

Change-Id: I1d3ace8542efe04c8ef4d729da6b6bec376d5ea4
2023-04-26 10:07:35 +00:00
Vitalii
816c3d31ac web/satellite: new upgrade account flow
Replaced old modal with new upgrade account flow.

Issue:
https://github.com/storj/storj/issues/5753

Change-Id: I7ab53324fd3983f46a209052a2f2d478ca005f0d
2023-04-25 12:11:20 +00:00
Vitalii
2b6b1f7e08 web/satellite: separate out frontend config from pinia app store
Separated out frontend config to make it live in an independent unchangable module.

Issue:
https://github.com/storj/storj/issues/5797

Change-Id: I094c44549d586dff6d1ef727fe43091c4aec03b8
2023-04-25 10:34:43 +00:00
Vitalii
15b370fa9f web/satellite: added new session expired modal
Added new modal for already expired session which is triggered after timeout instead of auto-redirecting to login page

Issue:
https://github.com/storj/storj/issues/5771

Change-Id: I8385ddfd9b8988c1d6130b6f0d19f1399a92d8fb
2023-04-24 17:43:14 +00:00
Jeremy Wharton
80561323a5 web/satellite: remove unnecessary session inactivity timer setup
The dashboard area component would set up the session inactivity timers
after it was unmounted, conflicting with those that were started by
dashboards mounted afterward.

This issue caused session refresh requests to be sent more often than
they should have been. Additionally, expiration of the old set of
timers would clear newer ones before they were due to expire.

Change-Id: I86a73f13dab4cd8f979181b29002eb3b3e6e8bac
2023-04-24 11:45:26 -05:00
Jeremy Wharton
1bc26e7a14 web/satellite: fix invalid references to first onboarding step
This change amends invalid references to the first onboarding step.

Previously, the route for the first onboarding step was computed in a
router module using our old way of specifying frontend config values.
When we upgraded to our new config style, the module could no longer be
responsible for computing the route due to the module being independent
of the store holding the config. The route was removed, but some
references to it remained.

Change-Id: I8817174bb4acab44c5ff2624d6edb1bd3e675de2
2023-04-21 11:27:48 +00:00
Jeremy Wharton
50afaa411e web/satellite: update naming of Team page
References to the Team page have been modified to refer to its new
name. Previously, it was called Project Members or Users.

Resolves #5761

Change-Id: I71ababe48847d7573f6abbbdb6b24c621b0abd4f
2023-04-20 14:57:08 +00:00
Vitalii
19e9ca921a web/satellite: migrate last 2 components to use composition api and clean up dependencies
Migrated last 2 vue components.
Removed class component and vuex dependencies.

Change-Id: I54a82cfae35a1c7eea6efbc07f89bf416a689e79
2023-04-20 13:53:58 +03:00
Vitalii
8d31e13db6 web/satellite: use pinia object browser module instead of old vuex module
Start using object browser pinia module instead of old files vuex module.
Also removed vuex related code.

Note: dependency will be removed in a follow-up change

Change-Id: I78cfb62a1ecc32bd86381bd3bfd3be4bd0f38e14
2023-04-20 13:49:11 +03:00
Wilfred Asomani
8632e28584 web/satellite: show freeze warning banner
This change displays a freeze warning banner if the user has a freeze
warning event.

Change-Id: Ia221dedd885f80ff0b8fd0de80269a94c59eaefb
2023-04-19 11:20:05 +00:00
Jeremy Wharton
53bd6bf787 web/satellite: fix redundant onboarding tour redirection
This change ensures that we only trigger a redirect to the onboarding
tour if we're not already there. Previously, we didn't take the current
route into consideration when redirecting. This exposed the risk of an
error occurring that prevented the page from loading.

Change-Id: I70323b21f58229abf463a7c737c262e4253f579a
2023-04-18 18:49:57 +00:00
Vitalii
4ae05afb24 web/satellite: use notifications pinia module instead of old vuex module
Change-Id: I03f14995d5315068582d357375365f0af8d63b8b
2023-04-18 17:51:24 +00:00
Lizzy Thomson
3f8eb58e4c web/satellite: add uploading large file notifications
Add default uploading large file notification when in buckets page.
When dismissed, store in local storage. When user uploads a file that
exceeds 1 GB, show warning notification.

Issue https://github.com/storj/storj/issues/5148

Change-Id: I895a230c017e8439ab2c19ea494930b7e9900a47
2023-04-18 16:50:41 +00:00
Vitalii
27d9d9f6d4 web/satellite: use pinia projects module instead of old vuex module
Start using new pinia module instead of old vuex module

Change-Id: I6bb5d4a5cf0eeb4d0a86afce760f5c258c20c1e5
2023-04-18 15:30:49 +00:00
Vitalii
1373bdb169 web/satellite: use new buckets pinia module instead of old vuex modules
Start using new buckets pinia module instead of old objects and buckets vuex modules

Change-Id: I1afa9b1f0e057b870796498d0e061c89a4a669ee
2023-04-18 13:30:55 +00:00
Wilfred Asomani
22970403af web/satellite: add storage needs field to sign up
This change adds a "storage needs" field to the business sign up form.

Issue: https://github.com/storj/storj-private/issues/220

Change-Id: Id83c646766a32f64c67971a7260b9f1f72f9f6cd
2023-04-17 18:10:24 +00:00
Vitalii
3e93c53560 web/satellite: fix object browser auto preview feature
Fix for an issue:
uploading folder triggers object preview modal to show up if there is already and only 1 uploaded object in this bucket.

By this fix we check if uploading object has prefix (basically folder) so we don't trigger object preview automatically.

Change-Id: I32943ef81c19d4ba1960ecb2f15126dfb381d845
2023-04-17 17:04:55 +00:00
Jeremy Wharton
bebfb91b66 web/satellite: don't hardcode length limits in pwd strength component
This change modifies the password strength component to reference the
frontend config when displaying the minimum and maximum password
lengths. Previously, these values were written directly in the Vue
file.

Resolves storj/customer-issues#691

Change-Id: I75fd3b7acd4536d2adae25525c61df3127d9c0a1
2023-04-17 10:28:34 -05:00
Jeremy Wharton
45d5a93085 satellite/console/consoleweb: remove templating for index.html
Previously, we evaluated index.html as a template in order to insert
frontend config values into meta tags. Now that the frontend fetches
its config through the satellite API, this is no longer necessary.

Resolves #5494

Change-Id: Ic98507c5e16cd80317bd9c31d4b55abda0dd7e34
2023-04-14 14:09:42 -05:00
Jeremy Wharton
6e866856c4 web/satellite: remove unused references to meta config values
All values derived from meta tag config values have been removed.
They were unused because references to them were modified to instead
refer to the frontend config fetched through the satellite API.

References #5494

Change-Id: Iab6c5e18eac85e2f757e9e731e23239fa267ee0a
2023-04-14 14:09:23 -05:00
Jeremy Wharton
e2abbc3800 web/satellite: use frontend config in store modules
References to the meta tag config values in Vuex store modules and
Pinia stores have been modified to instead refer to the frontend config
fetched through the satellite API.

References #5494

Change-Id: I2d16d8fa8f3159c45f00f506825b0c2119e475ff
2023-04-14 14:09:04 -05:00
Jeremy Wharton
d62dd0b8e7 web/satellite: use frontend config in Vue components
References to the meta tag config values in Vue components have been
modified to instead refer to the frontend config fetched through the
satellite API.

References #5494

Change-Id: I00ecf81d4a0ba6bd07c827cecb2c689d923d67c0
2023-04-14 16:24:05 +00:00
Jeremy Wharton
34e6c5048b web/satellite,satellite/console/consoleweb: update static error pages
Our static error pages have been unified and updated to reflect our new
designs.

Change-Id: Ib7cf76e87c56180dd997a91a2829187dac99baff
2023-04-14 15:48:15 +00:00
Jeremy Wharton
49c5e3de9e web/satellite: update Vue error page design
A common error page component that reflects our new designs has been
added, replacing our old 404 and 50X Vue pages.

Change-Id: Ifc9071674eeda03c5d961c26dce9ff0c80b95c6e
2023-04-14 00:07:14 -05:00
Vitalii
7dc2a5e20b web/satellite: use access grants pinia module instead of old vuex module
Start using new pinia module instead of old vuex module

Change-Id: I72e98fcf6910b1a601d005ecc24cec37a8016478
2023-04-13 23:59:48 +00:00
Jeremy Wharton
eeeac5fa39 web/satellite: disable removal of SVG viewBox
The webpack loader we use for SVGs uses an optimizer that strips the
viewBox attribute by default in order to reduce the byte count.
However, this prevents us from scaling SVGs using CSS. Because of this,
viewBox removal has been disabled.

Change-Id: I443eb83c762d3e0c84bb0fb6705e8f089d8a9405
2023-04-13 13:22:19 -05:00
Vitalii
fc3d31e732 web/satellite: use app pinia module instead of vuex module
Use new pinia module instead of old vuex module.
Removed 'do you want to leave object browser with ongoing uploads?' feature for now because it doesn't make sense with project level passphrase

Change-Id: I2249ee9a497d3fa7c59b583849e70366491c3eeb
2023-04-12 17:08:50 +00:00
Vitalii
64c798e912 web/satellite: use billing pinia module instead of vuex module
Use new billing pinia module instead of old payments vuex module

Change-Id: I03ee443345259ca96414bfb0771ace751ad36e58
2023-04-12 11:07:39 +00:00
Vitalii
e25da61b11 web/satellite: use project members pinia module instead of vuex module
Start using pinia module instead of vuex module

Change-Id: Ic51ecbf58583957360d4b5ac9c6e21885fbb0522
2023-04-12 11:06:17 +00:00
Jeremy Wharton
59eab37b95 satellite/console/consoleweb: remove bucket usage report page
No component has referenced this page since 9dab10e and we do not
anticipate this changing, so this page can be safely removed.

Resolves #5768

Change-Id: I57acb5e4d0977d74df46aaf67606a19ec0f10bcf
2023-04-11 18:17:03 +00:00
Lizzy Thomson
1c2ad79bf8 web/satellite: fix banner container CSS issue
Hides empty banner container when there are no banners being displayed

Change-Id: Ib64912e80ff1d8073ecfeb772939a0bce781d684
2023-04-11 10:54:58 -06:00
Lizzy Thomson
e2ecee41b5 web/satellite: update notifications to be aligned with dashboard
Update notification and banners to be aligned with inner dashboard
content

Issue https://github.com/storj/storj/issues/5636

Change-Id: I0e9fe73835e691bfa9aae05c1cfb08a5b9ab68e3
2023-04-11 10:50:52 +00:00
Vitalii
9c20c4ecb4 web/satellite: use pinia users module instead of vuex users module
Start using pinia users module instead of vuex pinia module.

Change-Id: I2a61aafa4b8f71cccd2a5825e11b315f59767289
2023-04-11 07:55:40 +00:00
Vitalii
5d860fddbd web/satellite: introduce project members pinia module
Added new pinia module to replace old vuex module in the future.

Change-Id: I73a5f6a36bc661a278591112ecd572e94700c442
2023-04-11 07:07:04 +00:00
Vitalii
199a28eb44 web/satellite: introduce billing pinia module
Added new billing pinia module to replace vuex payments module in the future

Change-Id: I7b03d6bd6f946c8e1d75c7501c0a32dde5b96832
2023-04-11 06:14:28 +00:00
Vitalii
cf1677fd05 web/satellite: combine buckets and objects pinia modules. Rename files module to object browser module
Combined buckets and objects pinia modules since they are responsible for the same thing.
Rename files module to object browser module to make it more clear.

Change-Id: Id55ec2ab7dbffaec95e5724340068891752a9576
2023-04-11 05:20:45 +00:00
Moby von Briesen
8893576dd2 web/satellite: Add clarification to pro account description
Clarify that bandwidth cost/limits relate specifically to egress
bandwidth (ingress bandwidth is free and does not affect bw limit).

Change-Id: I95a8a07ac3607ff41417d894067800f81246b7a2
2023-04-10 17:15:09 +00:00
Moby von Briesen
97cefed5c2 web/satellite: Remove BillingNotification component
This notification has been around for long enough that it is no longer
necessary.

Change-Id: I747d11f872d5bb1643dba599bafb36ac1b8ad9ee
2023-04-10 14:12:45 +00:00
Wilfred Asomani
085bc0c4cb web/satellite: fix browser hover and click behaviour
This change adds checkboxes to file items in the browser so they can be
selected that way instead of the previous click behaviour, which now
opens the object modal for files and open folder for folders. This
change also features some styling fixes for the browser.

Issue: https://github.com/storj/storj/issues/5726

Change-Id: I5b38208a8e8673d8212c749586bdb7e169c086f8
2023-04-09 21:03:46 +00:00
Wilfred Asomani
6f8dff5832 web/satellite: enable session timeout setting
This change adds a new setting on the account settings page to change
session timeout duration. The old settings page is replaced with a new
one used on the all projects dashboard page. Also, onboarding API
endpoints and store action have been changed to be generic to include
session timeout setting.

Issue: https://github.com/storj/storj/issues/5560

Change-Id: I9026e61c6f86e4be5f9357e5d20e280eab2c29ea
2023-04-07 00:03:17 +00:00
Jeremy Wharton
857a292e52 web/satellite: show loading screen when fetching frontend config
The satellite UI now shows a loading screen instead of the Vue router
view when fetching the frontend config. This prevents components that
rely on the config from being prematurely rendered.

References #5494

Change-Id: Ifeb06288a6895f98a7cab8f321cd68078c73c696
2023-04-06 21:24:58 +00:00
Vitalii
45a8ac7f57 web/satellite: migrate CreateProject component to use SFC composition api
Change-Id: I2e2bb654d1d759fb66ecbcbece1afb38557e271b
2023-04-06 11:53:19 +00:00
Vitalii
1a8e5544b9 web/satellite: migrate ProjectDashboard component to use SFC composition api
Change-Id: I8f7a523d0ea80664a7ccd6ebfb74f46a2553ac31
2023-04-06 11:52:28 +00:00
Wilfred Asomani
1dc5930d6c web/satellite: fix clicks on project/billing history tables
This change fixes an issue where clicking on the name of a project will
perform no action. And another where clicking "Invoice Pdf" on billing
history table will download twice.

Issue: https://github.com/storj/storj/issues/5698

Change-Id: I1a05b994d4855da5be309b1b6d4eb4c70f6f946b
2023-04-06 11:03:23 +00:00
Wilfred Asomani
ff88404d32 web/satellite: change project limit upperbound
This change makes the upperbound of the project limit slider the max
between the current project limit and the default limit for paid tier.

Issue: https://github.com/storj/storj/issues/5553

Change-Id: I6ca31ec86810ee3577370ab5cd042fce8daf1b90
2023-04-06 10:10:22 +00:00
Vitalii
66541e600b web/satellite: migrate ProjectMembersArea component to use SFC composition api
Change-Id: I503fb6d69bab73e7fb478c5c7cbdd47e7b578db6
2023-04-06 12:28:25 +03:00
Vitalii
a5d9caa5a5 web/satellite: migrate ProjectMemberListItem component to use SFC composition api
Change-Id: I232f06b5828c9f93917070621de66463c479d8fe
2023-04-06 08:38:07 +00:00
Vitalii
d0620405e5 web/satellite: migrate HeaderArea component to use SFC composition api
Change-Id: I75c77bd410058fd5ee8bf553871cb3852d0b033c
2023-04-06 11:35:49 +03:00
Vitalii
814711141e web/satellite: migrate BillingArea component to use SFC composition api
Change-Id: If0c943b40185af7d48e1e3eb859f37540f5a065e
2023-04-06 07:11:09 +00:00
Vitalii
d5e2062401 web/satellite: migrate TabWithCopy component to use SFC composition api
Change-Id: I39f6b4af76962fa89f786899b7ad25e9bef26714
2023-04-06 07:10:41 +00:00
Vitalii
0fe3775a5c web/satellite: migrate DownloadObject onboarding component to use SFC composition api
Change-Id: I38957ba0c2d971f55e150bae66be54683009d240
2023-04-06 07:10:24 +00:00
Vitalii
cfdeb4f513 web/satellite: migrate BillingNotification component to use SFC compostition api
Change-Id: I2fb987a9b9c892f38bab2c25409501b16995b193
2023-04-06 07:10:03 +00:00
Vitalii
697be4aaf8 web/satellite: migrate ProgressBar onboarding component to use SFC composition api
Change-Id: Ibe7fac5ddf3b333fb3f48391c6c739560ef7c1ff
2023-04-06 07:09:49 +00:00
Vitalii
65a12b1655 web/satellite: migrate ValueWithCopy component to use SFC composition api
Change-Id: I05340c700a743c0944027e335e54fcc532574d0b
2023-04-06 07:09:35 +00:00
Vitalii
a74bc2cdd3 web/satellite: migrate SuccessScreen onboarding component to use SFC composition api
Change-Id: If015079de387aec9024a4fca3fcaaaa0bb81a794
2023-04-06 07:09:17 +00:00
Vitalii
0bf5e5154c web/satellite: migrate ObjectsArea component to use SFC composition api
Change-Id: I7161c572b424e6df1fbaced26006947f4ff7a10f
2023-04-06 07:08:52 +00:00
Vitalii
933c4dd573 web/satellite: migrate ChangePasswordModal to use SFC composition api
Change-Id: Ic62510f0c6c2e81920eb3b67145bdb06f16fcb57
2023-04-06 07:08:02 +00:00
Vitalii
7bb8e53a0b web/satellite: migrate ActivateAccount component to use SFC composition api
Change-Id: I2df73db5137e3044c49e1a64884368446393c095
2023-04-06 07:07:16 +00:00
Vitalii
7cf840ee98 web/satellite: migrate ForgotPassword component to use SFC composition api
Change-Id: I9a69e95183efa79aa13b469091c452b6074b4d69
2023-04-06 07:07:04 +00:00
Vitalii
3336a24c5d web/satellite: migrate NotificationItem to use SFC composition api
Change-Id: I649e93e4e9251fcb871acae89f4c1b91b6450fbb
2023-04-05 21:22:36 +00:00
Vitalii
3f4ad197b0 web/satellite: migrate OnboardingTourArea component to use SFC composition api
Change-Id: Iaef3818880911bf0310ffafb43e970374952dae1
2023-04-05 18:51:00 +00:00
Vitalii
6daff989e5 web/satellite: migrate AddTeamMemberModal component to use SFC composition api
Change-Id: Iad07c7da7299aa0d9b0d13c4afa77312fa183370
2023-04-05 18:49:50 +00:00
Vitalii
bb38418e97 web/satellite: migrate OverviewStep onboarding component to use SFC composition api
Change-Id: I77b2766d6fe43072f4a94471bd1832decf0d4ebd
2023-04-05 18:48:46 +00:00
Vitalii
957e0824cc web/satellite: migrate OverviewContainer to use SFC composition api
Change-Id: I8b0412cec1b16866d172b6ba6816da1145e6c969
2023-04-05 18:47:41 +00:00
Cameron
f550f7e159 web/satellite: sort api keys
add ability to sort api keys on the access management page by ascending
or descending name or creation date. Additionally, edit api keys query
when ordering by name to order by lower(name) so names starting with
capital letters are not treated differently from lower case when
ordering.

Change-Id: I81dbb87587a24fb7097313f76bad116b1f20d306
2023-04-05 11:55:17 -04:00
Vitalii
add5bbadf0 web/satellite: migrate CLIStep onboarding component to use SFC composition api
Change-Id: I4f0fea6a7b7d91e555d23e85ca5fa6c091329482
2023-04-05 17:04:49 +03:00
Vitalii
599baf947e web/satellite: migrate EditProjectDetails component to use SFC composition api
Change-Id: If799efb9cbbdbfe5f269df0c555e47b3d767052a
2023-04-05 17:04:49 +03:00
Vitalii
9622ae67fa web/satellite: migrate ResetPassword component to use SFC composition api
Change-Id: I09819a6d2ea328307a2e3c9f463d3095905ea7d5
2023-04-05 17:04:49 +03:00
Vitalii
c9d0eeeee5 web/satellite: migrated errors components to use defineComponent syntax
We use defineComponent syntax because images are not loaded with regular <script setup> syntax and dynamic template source.

Change-Id: If0993c57772277e767db2b0705100215e17a4625
2023-04-05 12:24:17 +00:00
Vitalii
d9c179162f web/satellite: migrate OSContainer component to use SFC composition api
Change-Id: Ibc4baa713850c2a209bccf861847278818a7e01f
2023-04-05 10:43:01 +00:00
Vitalii
214e962263 web/satellite: migrate CLIFlowContainer component to use SFC composition api
Change-Id: Ib675ff4490ae870b193c08ad218c2a495b1f9d3f
2023-04-05 09:45:52 +00:00
Vitalii
b34a3d2f29 web/satellite: migrate UploadObject onboarding component to use SFC composition api
Change-Id: I2942adf161b8d2f64d373275a3ea4231199b09ec
2023-04-05 09:09:10 +00:00
Vitalii
265a83ced6 web/satellite: migrate ShareObject onboarding component to use SFC composition api
Change-Id: Ieab559f675b26132ee393dc644d4f7511140a4bb
2023-04-05 08:30:16 +00:00
Vitalii
50632340dd web/satellite: migrate ListObject onboarding component to use SFC composition api
Change-Id: I90382a0e7967e77eb45524392854c6e472d87c96
2023-04-05 07:50:31 +00:00
Vitalii
9caf961621 web/satellite: migrate CreateBucket onboarding component to use SFC compostition api
Change-Id: I6c6f632e1a7f389bae72893f0e70c94bb10d5cdb
2023-04-05 07:11:32 +00:00
Vitalii
670d9fdc6b web/satellite: migrate CLIInstall component to use SFC composition api
Change-Id: Ic72c4e229ddc218fe8984b72d03450d8a9b50295
2023-04-05 06:32:55 +00:00
Vitalii
401c8aaf99 web/satellite: migrate APIKey onboarding component to use SFC composition api
Change-Id: I4a1e9cfce951dd9f38a73ce509d8b6e36af65a53
2023-04-05 05:53:31 +00:00
Vitalii
c1484e33ae web/satellite: migrate AGPermissions component to use SFC composition api
Change-Id: I34b012f2626a88e26a9c9d0dd973bf0539dfd6b3
2023-04-05 05:14:02 +00:00
Vitalii
16e224ebc1 web/satellite: migrate UploadCancelPopup component to use SFC composition api
Change-Id: I2f6d81f5a07ffb5e1018aa921ec454fab9e5922d
2023-04-05 04:34:58 +00:00
Vitalii
f9eb778c6d web/satellite: migrate FAQBullet component to use SFC composition api
Change-Id: I96f2f1086a8ed63f4cc9070f6e7317545385df84
2023-04-05 03:54:20 +00:00
Vitalii
5b62150c8c web/satellite: migrate EncryptionBanner component to use SFC composition api
Change-Id: Id6b5c960c2e3d19d2cf0b1f8976b3391a2d4a7b2
2023-04-05 03:14:50 +00:00
Vitalii
923ad68075 web/satellite: migrate BucketsView component to use SFC composition api
Change-Id: Ic3f015008587b335192ec6f6ccc13cc7ec6bfc04
2023-04-05 02:35:45 +00:00
Vitalii
35f9262c1b web/satellite: migrate BucketItem component to use SFC composition api
Change-Id: I82c6a1f5f8949977ef5ffb540fccd0d55fb0c865
2023-04-05 01:56:39 +00:00
Vitalii
32581849c8 web/satellite: migrate BucketGuide component to use SFC composition api
Change-Id: Ic6368530eb1067e4212203ede2c07634bc455043
2023-04-05 01:17:19 +00:00
Vitalii
1ba5ee787c web/satellite: migrate BucketDetailsOverview component to use SFC composition api
Change-Id: I913832792c7c87d4ae81d598eb42ad0c0028f4a1
2023-04-05 00:38:04 +00:00
Vitalii
0351bd9b92 web/satellite: migrate BucketDetails component to use SFC composition api
Change-Id: I869ed788e48b1863552cf346888826f840c1373c
2023-04-04 23:59:02 +00:00
Vitalii
68c016ad50 web/satellite: migrate NotificationArea component to use SFC composition api
Change-Id: I8ac32f49f5e4afb1f5dd75b193054b27f3222769
2023-04-04 23:19:43 +00:00
Vitalii
354aff424b web/satellite: migrate ShareObjectModal component to use SFC composition api
Change-Id: I9c7f7c6767489e161d9f44cc0c3b408fae81b84e
2023-04-04 22:40:42 +00:00
Vitalii
4c75bc0717 web/satellite: migrate ResourcesLinks component to use SFC composition api
Change-Id: Ifda7704109923f3e615637bd95f4b2317c842106
2023-04-04 21:48:48 +00:00
Vitalii
2d28556486 web/satellite: migrate QuickStartLinks component to use SFC composition api
Change-Id: Ic5f3cedc4991761caf2a9a2038cca07d8d74754b
2023-04-04 21:08:57 +00:00
Vitalii
28cc779191 web/satellite: migrate GuidesDropdown component to use SFC composition api
Change-Id: Iebd32660348f85eb75bb1a6006df562a29809cad
2023-04-04 20:33:58 +00:00
Vitalii
deccb1f133 web/satellite: migrate ObjectDetailsModal component to use SFC composition api
Change-Id: I4a7b1e91db5dbcb997cd2a6fa4da4f947c843d88
2023-04-04 19:25:53 +00:00
Vitalii
2cae58dcb7 web/satellite: migrate NewFolderModal component to use SFC composition api
Change-Id: Ibc66e3b47c183ac06f8225a309abbd3c2dbc476e
2023-04-04 18:44:42 +00:00
Vitalii
bafd3826f0 web/satellite: migrate EnterPassphraseModal component to use SFC composition api
Change-Id: I07d48165442251c1375b5ce58eb7b31e5f03bdf6
2023-04-04 17:14:37 +00:00
Vitalii
403edd961c web/satellite: migrate AddTokenFundsModal to use SFC composition api
Change-Id: I42a92cab21ec06dc54f624b91c72a17262d995fd
2023-04-04 16:32:26 +00:00
Jeremy Wharton
f2ae202024 satellite/payments,web/satellite: separate UI cost estimates by partner
Components related to project usage costs have been updated to show
different estimations for each partner, and the satellite has been
updated to send the client the information it needs to do this.

Previously, project costs in the satellite frontend were estimated
using only the price model corresponding to the partner that the user
registered with. This caused users who had a project containing
differently-attributed buckets to see an incorrect price estimation.

Resolves storj/storj-private#186

Change-Id: I2531643bc49f24fcb2e5f87e528b552285b6ff20
2023-04-04 15:56:16 +00:00
Vitalii
4f515e759d web/satellite: migrate NewBillingAddCouponCodeModal component to use SFC composition api
Change-Id: I78f4e2316921bea43bebdfe97183d3f58e345c29
2023-04-04 10:50:42 +00:00
Vitalii
aca348fc5b web/satellite: migrate MFARecoveryCodesModal component to use SFC composition api
Change-Id: Ibe2a83829ba60bb2b541e8aaa1d8b0fb01ef01bd
2023-04-04 10:15:58 +00:00
Vitalii
ceaa50016d web/satellite: migrate OpenBucketModal component to use SFC composition api
Change-Id: I0236d655fdc33f9ac3540a251298c486fe48f4d5
2023-04-04 09:24:13 +00:00
Vitalii
a51ce288d5 web/satellite: migrate InactivityModal component to use SFC composition api
Change-Id: I73409da66186409664ad59d5538a6e6e4f484d8c
2023-04-04 07:49:23 +00:00
Vitalii
891d74fe7d web/satellite: migrate StripeCardInput component to use SFC composition api
Change-Id: Id61a6726716b87d0a61e872a47a41b6b4c553ff9
2023-04-04 07:08:06 +00:00
Vitalii
c4db4165c1 web/satellite: migrate DisableMFAModal component to use SFC composition api
Change-Id: Id5fbedda7e72e18e225e437fcf51d6e9bebb112e
2023-04-03 18:59:14 +00:00
Vitalii
8d544ac3eb web/satellite: migrate AllModals component to use SFC composition api
Change-Id: Id1271c0010035eb7a847c48c7eff9e59a81c25e5
2023-04-03 18:19:08 +00:00
Vitalii
8d15154fc6 web/satellite: migrate infoBars components to use SFC composition api
Change-Id: Ieb25ea37d0ee59bb50ecec219321182bdcd32633
2023-04-03 17:42:33 +00:00
Vitalii
54107264ca web/satellite: migrate MiddleTruncate component to use SFC composition api
10000!!!

Change-Id: I10075787f61c151cc0a155f3ee30629de575dafa
2023-04-03 15:25:54 +00:00
Vitalii
b83ca75691 web/satellite: migrate AccessGrantsItem component to use SFC composition api
Change-Id: I07e4cc9d74120f68d7231a546f83c5b858a92c4e
2023-04-03 14:39:09 +00:00
Vitalii
77829c6306 web/satellite: migrate App.vue component to use SFC composition api
Change-Id: I5877577d743fe1bfbc3762fdaa7064fa279f3ae2
2023-04-03 13:54:37 +00:00
Vitalii
6e11f92b1a web/satellite: migrate NavigationArea component to use SFC composition api
Change-Id: Ic213e0c5af326c1a761868786b4f24244e907dcc
2023-04-03 13:04:41 +00:00
Vitalii
d8ac6889ab web/satellite: introduce objects pinia module
Added new module to replace old Vuex module

Change-Id: Id0c4ff41c89137e15eb78c8666ad995e909a1695
2023-04-03 12:18:48 +00:00
Vitalii
2557b9a72f web/satellite: introduce files pinia module
Added new module to replace old Vuex module

Change-Id: I220769ca6c53e9d9b10f84eaf147f2904bbd5500
2023-04-03 11:13:10 +00:00
Moby von Briesen
4caa248c56 web/satellite: Slight update to pro account details in upgrade modal
Use more precise wording to describe limits/pricing for pro accounts.

https://github.com/storj/storj-private/issues/215

Change-Id: I505ea97684c76fc46c1a1e13dde22f33ba840ba7
2023-04-01 01:14:33 +00:00
Vitalii
124f340fa9 web/satellite: migrate EditProfileModal component to use SFC composition api
Change-Id: I9da0c63483ffa7f7a9ac9e4343d751564366ac34
2023-04-01 00:16:16 +00:00
Vitalii
634ae73466 web/satellite: migrate CreateProjectPromptModal component to use SFC composition api
Change-Id: I13dd344ef1b4467953522866ef4eaa94f37b1816
2023-03-31 23:27:18 +00:00
Vitalii
709dc63d42 web/satellite: introduce appStore pinia module
Added new module to replace old Vuex module

Change-Id: I82f2cb038ccefc24a622afcd808d3a492a2a87b4
2023-03-31 20:56:49 +00:00
Vitalii
b3969618f9 web/satellite: migrate CreateProjectModal to use SFC composition api
Change-Id: I8da5c3e034ebdd72c07a036d13a1e31a1d706cf6
2023-03-31 19:50:43 +00:00
Vitalii
0acb28181f web/satellite: migrate AddTokenCardNative component to use SFC composition api
Change-Id: I0d99308738dd051f35478c86da956010233dc413
2023-03-31 19:00:50 +00:00
Vitalii
34460ebd7a web/satellite: migrated PaymentMethods component to use SFC composition api
Change-Id: I498e178fc08c4af55fa1dfb7c262f87cd10c395e
2023-03-31 18:21:00 +00:00
Vitalii
c95f552b72 web/satellite: fix for object browser locked objects
This is a fix for locked objects count to not update after some action (upload, delete etc.)

Although the issue is still there if user deletes file, navigates outside object browser and navigates back to the same bucket.
In this case we would refetch objects count both from satellite API and our gateway.
So bucket tally wouldn't be triggered that fast and object browser would still show locked objects.
Anyway it's better than it is now.

Also reworked weird object browser initialization which triggered some routing error so this event would be displayed in hubspot as a UI error

Change-Id: I545ab925b135fe3ef2740d17aaece6d43b731c96
2023-03-31 13:53:37 +00:00
Vitalii
2966b70498 web/satellite: migrate EnableMFAModal component to use SFC composition api
Change-Id: I5b75ec6464cee73f39421a8d4ede95af9d5df984
2023-03-31 12:37:56 +00:00
Vitalii
9d49145570 web/satellite: migrate AddCouponCodeModal to use SFC composition api
Change-Id: I9d1b938c391a3df778a64609685873260317cbd7
2023-03-31 11:06:50 +00:00
Moby von Briesen
f3bf45aa56 web/satellite: Update exit paths for pricing plan modal
* There was one bug where all projects dashboard was enabled, and the
  actual path was not being passed to the router
* There was another bug where all projects dashboard was disabled, and
  the user was directed to the projects dashboard rather than the next
  step of the onboarding flow, meaning that upon refresh, the user would
  be prompted for package selection again

Change-Id: I388f04c3af9d03b84b4dd3af6de29e6b82b10531
2023-03-31 08:52:28 +00:00
Vitalii
b44852bb02 web/satellite: migrate TokenTransactionItem component to use SFC composition api
Change-Id: Iab6b76ab852f13128f652b640f19b3a5b6cf9e29
2023-03-31 00:10:56 +00:00
Vitalii
cb947cc217 web/satellite: migrate AddTokenCard component to use SFC composition api
Change-Id: Ife383607c0874a2f9f022fe5174e5a5c4eda8969
2023-03-30 23:16:57 +00:00
Moby von Briesen
f8e8f3a4cc web/satellite: Implement coupon code billing UI enabled flag
This flag was previously implemented, but when we reworked the billing
UI, we forgot to re-implement it with the new screens.

This change fixes that.

Change-Id: Ifad2b82f1080928b72d7e572796fcf4287e5ed3f
2023-03-30 11:44:42 -04:00
Vitalii
bef60f879f web/satellite: introduce notifications pinia module
Add new module to replace old Vuex module

Change-Id: I4d12c0a13ef9768719a156eb0af543971e775939
2023-03-30 08:34:43 +00:00
Vitalii
7921add393 web/satellite: make pinia modules more independent
Make pinia modules not to depent on other pinia modules where possible.

Change-Id: I2bcc473936a3e294eed58fafd977d447c7feef91
2023-03-30 08:34:28 +00:00
Vitalii
1480b5b9a0 web/satellite: migrated AGName component to use SFC composition api
Change-Id: I3158a759db15922a3598cf7f5a519ca4df194f28
2023-03-30 08:33:46 +00:00
Vitalii
0da9430462 web/satellite: migrated PermissionsSelect component to use SFC composition api
Change-Id: I6c1701107d9bdcb75492efd0f7b5e54d1e79cd54
2023-03-29 21:36:17 +00:00
Vitalii
cd51044216 web/satellite: migrated UploadFile component to use SFC composition api
Change-Id: Ie5dd3edc9bf769d48b669db84e4264a885df83d3
2023-03-29 20:57:46 +00:00
Vitalii
102db3d010 web/satellite: migrated ProjectSelection component to use SFC composition api
Change-Id: I2f9f5e642dc7a5f23df71c79fae25c37048bd107
2023-03-29 20:04:20 +00:00
Lizzy Thomson
9b3eefbd51 web/satellite: update hard coded free account limits to be dynamic
Fixes https://github.com/storj/storj-private/issues/195

Change-Id: I8b0d565eecca979e5bf092cade2891c2719b4329
2023-03-29 18:39:53 +00:00
Vitalii
a6323c59c2 web/satellite: migrated DurationSelection component to use SFC composition api
Change-Id: I3d67b9f7eaa108c60be45279c847d7e75e70e7e5
2023-03-29 17:47:15 +00:00
Vitalii
5d94ea4b78 web/satellite: migrated DurationPicker component to use SFC composition api
Change-Id: Ic77c1a15f65bc5054541de9563d01b1ed2c4fd72
2023-03-29 17:11:48 +00:00
Lizzy Thomson
63533c628b Satellite/console: Reduce free account limits
Update free account limits to segments(10k), storage(25gb), and
bandwidth(25gb)

Issue: https://github.com/storj/storj-private/issues/182

Change-Id: I59250fc9f1eebc812bc85ecfbc2924f8c4369064
2023-03-29 15:24:24 +00:00
Vitalii
d407408f24 web/satellite: migrated BucketsSelection component to use SFC composition api
Change-Id: Ie7ec220ac021fe11b640f61aad0c648f53cc3071
2023-03-28 14:35:48 +03:00
Vitalii
174308f60e web/satellite: migrated BucketsDropdown component to use SFC composition api
Change-Id: I58f1c9b160a8b90912dd7288259073dcbc5b2954
2023-03-28 10:03:41 +00:00
Wilfred Asomani
6857a48a0b web/satellite: change onboarding trigger
This change uses the onboarding user settings for whether to show
 onboarding (pricing plan) or not.
This change also fixes an issue where a new user is prompted for
passphrase once from onboarding and a second time on the dashboard.

Issue: https://github.com/storj/storj/issues/5661
https://github.com/storj/storj/issues/5675

Change-Id: I8e92c732260116de830cfbbbe0545f7e7c8997b0
2023-03-28 08:47:13 +00:00
Vitalii
e9c1488fce web/satellite: migrated BucketNameBullet component to use SFC composition api
Change-Id: Iab138902747b58607273a5d69799ba83934d4173
2023-03-27 20:44:31 +00:00
Vitalii
aa66faf3df web/satellite: migrated ShareBucketModal component to use SFC composition api
Change-Id: I058367f16abbe549fced29c260d87acd51cadf0e
2023-03-27 20:09:34 +00:00
Vitalii
f3d37f3bc5 web/satellite: migrate DeleteBucketModal component to use SFC composition api
migrated component to use SFC composition api

Change-Id: I1af3376f14af0e0dde2847ffe117feb2682e6a98
2023-03-27 19:09:58 +00:00
Vitalii
e4d9f8686d satellite/{web, console}: remove old access grant and billing flows
Removed old flows along with feature flags.

Issue: https://github.com/storj/storj/issues/5694

Change-Id: Ib3a1cbb12435500bdc2c540bb67615c64ca19e5e
2023-03-27 19:08:35 +00:00
Vitalii
8668e0c716 web/satellite: migrate ProjectsListItem to use SFC composition api
Migrated component to use SFC composition api

Change-Id: I6bb84ba8f64c84efdba1a5a3ee8723563c163a87
2023-03-27 18:19:01 +00:00
Vitalii
0fd43caffe web/satellite: migrate ProjectsList to use SFC composition api
Migrate component to use SFC composition api

Change-Id: Id3a82548becd0ddb90801ed9868a2537ff758b8b
2023-03-27 17:37:23 +00:00
Vitalii
9a87da1b8a web/satellite: migrate AuthorizeArea to use SFC composition api
Migrate component to use SFC composition api

Change-Id: I7ff1f7f9ff64419cba2feac96130b78be048605b
2023-03-27 17:00:23 +00:00
Vitalii
736f97b1e9 web/satellite: migrate AG ConfirmDeletePopup to use SFC composition api
Migrated component to use SFC composition api.

Change-Id: Ic4a5dbf733b4a831f5c5508ed17a0a5c746e3cae
2023-03-27 15:07:19 +00:00
Vitalii
3deddb548d web/satellite: migrate AccessGrants components to use SFC composition api
Migrated component to use SFC composition api.

Change-Id: I5cb3563626f480c05ad9ab8aabf1c02eeebc5767
2023-03-27 15:06:09 +00:00
Jeremy Wharton
be567021d9 web/satellite: fetch frontend config from the satellite
This change updates the satellite frontend to retrieve its
configuration from the satellite.

References #5494

Change-Id: I1eb961f8a32f7d88173006117d41eddb57624692
2023-03-24 02:10:12 -05:00
Vitalii
fd28a665c7 web/satellite: introduce access grants pinia module
Added new access grants pinia module.

Change-Id: Icb04d6e77ecc19797e250279cbe07e333596d816
2023-03-24 00:09:57 +00:00
Vitalii
2922eeed07 web/satellite: migrated components to use pinia ab testing module instead of Vuex
Migrated components to use new pinia ab testing module instead of old Vuex module.

Change-Id: Ib71ff1ad8d08829d939dee2ae87f4349bd4c33cf
2023-03-23 14:51:56 +02:00
Vitalii
a588f96b90 web/satellite: migrated UpgradeNotification component to use SFC composition api
Migrated component to use SFC composition api.

Change-Id: Ic2f11d1c77eaa5e66ed80c1c2fd6acbfe25f9052
2023-03-23 10:22:18 +00:00
Vitalii
6a99e3df31 web/satellite: migrated MobileNavigation component to use SFC composition api
Migrated component to use SFC composition api.
Fixed some router code usage in DashboardArea.
Fixed billing Detailed history router usage.
Fixed VBanner console error.

Change-Id: I372f870185a00334895c62d504e2aed44f8f5b9d
2023-03-22 21:23:01 +00:00
Vitalii
2dee4c9afc web/satellite: migrated navigation AccountArea to use SFC composition api
Migrated component to use SFC composition api.
Deleted unused PaidTierBar component.

Change-Id: Ie7938fbcd1b65ef0da9e9aefec879d605892253b
2023-03-22 11:54:01 +02:00
Vitalii
9feee869f0 web/satellite: add ab testing pinia module
Added new ab testing pinia module.

This is a part of migration from Vuex to pinia.

Change-Id: I5e6c325d979b0641ed745de4ca17039b812dd842
2023-03-22 11:49:24 +02:00
Vitalii
fb12717256 web/satellite: fix passphrase switching outside object browser
There is a bug when switching passphrase outside object browser.
We don't generate edge credentials when switching passphrase so navigating to object browser shows old objects (for old passphrase).
By this fix we clear edge credentials every time user switches passphrase.

Change-Id: Ia09d559f90ae7f02ae5c778844beb7ec268356e7
2023-03-20 17:05:26 +00:00
Wilfred Asomani
bf45e53169 satellite/{web,payments}: display correct stripe balance
This correctly displays the stripe balance in dollars, which was
previously displayed in cents.

Change-Id: Ifb14a63a90d3701201c616780cee466525c8be18
2023-03-17 11:54:08 -05:00
Jeremy Wharton
e0c3f66040 web/satellite: display correct prices in account upgrade modal
The account upgrade modal has been updated to display prices according
to the the user's price model. Previously, the modal displayed only the
default prices which were incorrect for users with price overrides.

Resolves storj/storj-private#187

Change-Id: I58206cc8ea7e7742a37f759a84dbb24ca40dd8eb
2023-03-17 10:15:28 -05:00
Jeremy Wharton
6942da3ddb web/satellite: migrate account upgrade modal to composition API
This change updates the account upgrade modal to use the composition
API.

Change-Id: If835da7bb627f07aec88bff59127b3ba459c9a0f
2023-03-17 10:14:23 -05:00
Cameron
355f800916 web/satellite: create default project during onboarding
When a user logs in, we check if they have zero projects at the
dashboard. If so, the default project is created and they are sent to
the onboarding flow. However, this allows a user to skip onboarding if
they close out and log back in, since the dashboard is loaded first.
This change moves the default project creation to the beginning of the
overview step of onboarding to make sure any important preliminary
onboarding steps are not skippable.

Change-Id: I4fd1efc6ccd26b972fe57425efe268f8ba135c26
2023-03-16 18:19:32 -04:00
Vitalii
132a688bec web/satellite: rework session timeout reset with ongoing upload
Using eventbus was a terrible approach because if session would expire in less than 3 mins then we would do an explicit API request to reset session for each upload progress ping.
With this change we simply check if there is at least one ongoing upload and refresh session with one single API request and we don't show inactivity modal.

This is a possible fix for this issue (at least I can't reproduce it):
https://github.com/storj/storj/issues/5618

How to test:
setup storj-up with InactivityTimerDuration config value set to 120 seconds.
go to object browser and start upload of some heavy file, for example 1GB.
check if inactivity timer would be shown in 2 mins, additionaly you may check DevTools network tab.
in my case upload is successfully done in about 3-4 mins without any problems.

Change-Id: I09142a7affac08db1d02992ca2d2f40c6267324f
2023-03-15 16:00:53 +00:00
Vitalii
7942f3774f web/satellite: do not show server side encryption banner on relogin
Do not reset showing server side encryption banner for buckets page on relogin.

Issue:
https://github.com/storj/storj/issues/5555

Change-Id: I30d9d8e8370aa1fd1f60069720ecd07d8450c8ee
2023-03-15 15:23:59 +00:00
Vitalii
37d7c0efbf web/satellite: migrate VChart component to use SFC composition API
Upgraded chart.js dependency to V4.
Removed vue-chart and types/chart.js dependencies.
Refactored VChart component to rely only on chart.js dep without any additional wrappers.
Refactored VChart component to use SFC composition API.

Change-Id: Ic5e0131bff413f3205d4449db930644d113fe36d
2023-03-15 14:31:52 +00:00
Wilfred Asomani
61af5b3191 web/satellite: move register page to composition api
This change updates RegisterArea.vue to use the composition API.

Issue: https://github.com/storj/storj/issues/5059

Change-Id: Ieea65731cd76a9e98282f23aed90e625c6d09387
2023-03-14 21:26:27 +00:00
Wilfred Asomani
59ebb0ef27 web/satellite: move login to composition api
This change updates LoginArea.vue to use the composition API.

Issue: https://github.com/storj/storj/issues/5060

Change-Id: I34d748da1224805ed179bd2cf37e61d496d0811c
2023-03-14 00:34:07 +00:00
Jeremy Wharton
c24341bcab web/satellite: update Coupons area in Billing page
The Coupons area of the Billing page has been updated to match our
designs.

Resolves storj/storj-private#172

Change-Id: I0f3d7f3818f47a1bbc6a2dba930ab429f83f92c2
2023-03-13 08:09:06 +00:00
Jeremy Wharton
c4f8695e8a web/satellite: generate TypeScript for frontend config
A package has been written to generate a TypeScript file containing
classes corresponding to the frontend config. These classes will be
used across the frontend once we no longer reference meta tag values
for configuration.

References #5494

Change-Id: If425035892773167ac6d9fbfae8140cab79fbb70
2023-03-10 22:33:24 +00:00
Jeremy Wharton
4d823e8166 private/apigen: isolate TypeScript class generation
The code responsible for generating TypeScript classes has been
separated from the rest of the TypeScript generation code so that other
packages may take advantage of this functionality.

References #5494

Change-Id: I97eabd430bd6a5f748eafaf8b1d783977e75e660
2023-03-10 21:52:30 +00:00