Commit Graph

1284 Commits

Author SHA1 Message Date
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