Commit graph

339 commits

Author SHA1 Message Date
Vítor Vasconcellos 5a103fb21b
[ENG-1472] Frontend bug fixes and dependencies update (#2137)
* Fix onboarding sometimes not redirecting to Explorer on prod builds
 - Fix failure trying to compile landing prod builds outside Vercel
 - Fix Server docker failing to restart due to some incorrecting logic for creating the unprivileged users erroring out
 - Fix Storybook failing to build due to updates to Vite
 - Update Storybook dependencies
 - Remove unused Inter font dependency
 - Fix some incorrect references to NodeJS types inside web code
 - Fix $libraryId index using the incorrect redirect function
 - Improve error handling for the $libraryId index route
 - Fix Prism not being correctly loaded, and failing to register its plugins
 - Improve Prism loading error handling
 - Small improvement to the text highlight logic
 - Fix SCSS deprecation for untyped hsl values
 - Fix library query cache incorrectly saving empty values, which lead to the onboarding redirect bug
 - Patch contentLayer to fix an error during the final part of it's build process
 - Update most dev dependencies
 - Update publish-artifact to be compatible with new @actions/artifact
 - Fix issue with new vite-plugin-solid failing to build our .ts files due to the removal of the typescript plugin
 - Fix pnpm overrides not applying due to incorrect placement in package.json
 - Replace deprecated react-tsparticles and updated three used by the Bubbles background in the landing page
 - Rework Bubbles background to be compatible with new @tsparticles/react
 - Update @sd/config dependencies
 - Update @sd/scripts dependencies

* Implement suggestions
 - Replace mobile JS node setup with custom setup-pnpm action
 - Handle GITHUB_SECRET default value in code and throw a warning when it is not set
 - Fix pnpm now resolving the correct node version when building Spacedrive server docker
 - Add missing getent command to spacedrive server docker
 - Fix typo in entrypoint.sh
 - Implement a more robust check if the user is already in a group
 - Fix adduser failing due to missing default group
 - Disconnect IntersectionObserver on component unmount
 - Improve prism import comment

* Implement more suggestions
 - Pin genent version to latest stable release of UClibc
 - Add checksum checks for all ADD clauses in Spacedrive server Dockerfile

* Increase Maestro timeout to reduce CI failures due to slow simulator startup

* Dowgrade maestro to workaround CI timeout

* Improvements to the script that run maestro mobile tests
 - Increase the amount of retries for a maestro test run to 6
 - Increase Maestro driver startup timeout to 2 minutes

* Let run-maestro-tests.sh decide how to run itself

* ¯\_(ツ)_/¯
2024-02-28 23:52:24 +00:00
Vítor Vasconcellos 7aae22e83f
Fix Linux release (#2081)
* Fix Linux release
 - Pin appimage-builder to latest master
 - Add required cmp option to AppImageBuilder.yml
 - Disable intro video on Linux (it breaks onboarding for some reason)

* Auto format

* Fix typecheck
2024-02-13 18:26:19 +00:00
Utku 970c157da6
[ENG-1563] Add dynamic changelog link & remove old components (#2075)
Add dynamic changelog link & remove old components
2024-02-09 20:59:47 +00:00
Vítor Vasconcellos 556ddbd4f8
Port AppImage build to use appimage-builder (#1785)
* Initial port to appimage-builder

* Almost

* Fix appimage build on arm64

* Custom patch for external binaries run under appimage
 - Disable bubblewrap sandbox when running under appimage
 - Change cwd to APPDIR when running under appimage

* AppImage Works (for the first lunch, then it crashes with Stack Smash 😭)

* Fix stack smashing, now AppImage almos fully works \o/ (gstreamer is still broken)
 - Temporarily disable the volume watcher when running under appimage (Workaround for the stack smash error)
 - Wrap gnu lic version check for appimage under conditional compile for glibc targets
 - Add error handling for the justUpdatedCheck
 - Fix VITE_LANDING_ORIGIN being undefined

* On non glibc systems default to runtime/compat

* Use glibc version 2.8 instead of 0 for non-gnu systems

* Fix video playback not working due to broken GstRegistry

* Build and publish new AppImage release artifact
 - Fix model location when building deb
 - Improve model path resolution logic
 - Remove patchelf dependency from setup script
 - Fix incorrectly ignore gstreamer dependency in AppImage recipe

* Fix clippy complaining about `get_path_relative_to_exe`
 - Read GLIBC_FAKE_VERSION or use 2.8 for musl in appimage (while the code is there, this is not really supported for now)

* Remove appimage tauri target from release CI

* Remove setup-buildx-action, not relly needed

* typo fix

* Fix git describe command running on cwd instead of the repo root dir

* Attempt fix weird git permissions errors in CI+docker

* Pass CI env to docker appimage

* Only use git after installing it

* Pass target to appimage build script

* Fix permission after creating appimage

* -_-

* Swap envvar with github ci var

* Format

* Add instruction on how to manually build an AppImage

* Fix typos

* docs: add note about running podman with `--privileged` if there's a permission denied error

* docs: fix typo and link directly to appimage-building `README.md`

* refactor: streamline code and make it a bit cleaner

---------

Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
2024-01-22 10:52:26 +00:00
ameer2468 d4f6175631
update tailwindcss to 3.4 (#1949)
* update tailwindcss to 3.4

* Update pnpm-lock.yaml

* update others
2024-01-17 20:46:14 +00:00
Brendan Allan 4962b1160b
[ENG-1488] Cloud sync message compression (#1922)
* CRDTOperationWithoutInstance

* almost there

* fully compress messages

* implement more of sd-cloud-api

* sd-cloud-api-ify

* landing -_-

* openssl

* clippy

* idk

* bruh

* wut

* ahhh right
2024-01-09 10:21:23 +00:00
Oscar Beaumont 49bdbc4b60
SolidJS Build Infrastructure (#1919)
* backport changes from #1913

* Make ESLint play nice

* eslint fix

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2024-01-08 06:20:20 +00:00
Lemming e4d21b001c
fix(landing):Fixed the style of the mobile navigation bar menu bar (#1869) 2023-12-07 04:38:03 +00:00
Utku c0a5f789e8
Fix landing icon sizes (#1854)
fix icon sizes
2023-12-04 15:58:20 +00:00
Brendan Allan 41072baf32
Send release message in channel (#1824)
send release message in channel
2023-11-25 00:59:18 +00:00
Utku 3b12e4ea19
[ENG-1414] Docker Server Installation Dialog (#1774)
* docker dialog

* move tooltip inner

* types

* rename "production" tag to latest

* fix dialog with and url

* pnpm-lock
2023-11-24 19:30:19 +00:00
ameer2468 3de321e23e
[ENG-1448] Better meta image (#1803)
Update opengraph-image.png
2023-11-21 11:28:24 +00:00
Utku bbc01294f6
[ENG-1447] Add meta image (#1799)
* meta image

* woops
2023-11-19 18:49:59 +00:00
Vítor Vasconcellos c673882ea2
Work-around broken webgl (#1645)
* Check if we can instantiate WebGLRenderer in `hasWebGLContext`
 - Work-around broken webgl support

* Instantiate WebGLRenderer manually, in Space background, so we can check if it fails
 - Try WebGL1Renderer if WebGLRenderer fails
 - Fallback to Bubbles background if no WebGL Renderer works
 - Update threejs, @react-three/drei, @react-three/fiber

* Remove superfluous WebGLRenderer intantiation check
2023-11-13 17:51:44 +00:00
Utku cda07b5f63
[ENG-1412] Fix blog/docs image sizes (#1758)
* fix

* Add image placeholder to NextImage component
2023-11-09 07:33:47 +00:00
Utku 4d139e3229
[ENG-1406] Fix search bar take 2 (#1750)
oh man
2023-11-06 20:07:56 +00:00
Utku 8a4281edd2
Fix search bar (#1749)
layout messing scss order somehow
2023-11-06 16:30:35 +00:00
Utku b9707db139
[ENG-303] Search on Docs (#1735)
* implement search

* fix pnpm lock

* indexer action and added some alerts

* test action

* oops

* styles pls

* disable input ring
2023-11-05 20:15:24 +00:00
Ericson "Fogo" Soares 614ca0d811
Remove < 21 node restriction (#1728) 2023-11-04 03:44:07 +00:00
Brendan Allan b7354a4580
Urgent landing page fixes (#1724)
* don't trigger rebuild if release is draft

* be more strict about drafts

* fix
2023-11-03 10:15:29 +00:00
Utku 7dd164f68d
cleanup (#1723) 2023-11-03 02:08:11 +00:00
Oscar Beaumont 3c0f418579
[ENG-1341] Landing download links shouldn't open new page (#1699)
do the thing betterer
2023-10-29 22:31:02 +00:00
jake c1de3c3cf9
Landing page metadata update (#1690)
* move any transparent images away from crawlers, update `robots` and add a `sitemap`

* dynamically-updated app manifest

* requested changes
2023-10-28 19:09:49 +00:00
Utku ed6c76fe90
add space between os and arch (#1676) 2023-10-25 21:31:23 +00:00
Utku 91dc29d944
Fix landing analytics (#1675)
fixerino
2023-10-25 19:52:18 +00:00
Vítor Vasconcellos f7277d602f
Frontend misc fixes and deps update (#1650)
Dependencies overhaul
 - Update dependencies for all projects (except Mobile-only deps)
 - Remove unused dependencies from all projects (except Mobile-only deps)
 - Fix Storybook failing to import sd/ui style
 - Add Node 21 as not supported due to sass-loader not working on it yet
 - Add work-around for new rook version requiring webpack specific global property
 - Fix landing dev not working due to missing default env value on dev
 - Fix some incorrect uses of phosphor-icons non server side icons on server components on landing
 - Fix some incorrect uses of phosphor-icons server side icon on client components on landing
 - Fix landing fail to build on dev due to always required a Github Token to get the latest release
 - Fix new Next.js version not suporting Response.redirect due to immutable Headers
 - Add Gitlab as social link for teams page
 - Update Vítor's team photo
 - Add Vítor's twitter link
 - Fix some warning due to missing useEffect dependencies
 - Remove test-files dir
 - Fix QuickPreview unblurred buttons in Linux
 - Formatting
2023-10-24 07:51:58 +00:00
Brendan Allan 46397010e4
Individually quote each line of release modal commit message (#1666)
individually quote each line of commit message
2023-10-23 14:47:35 +00:00
Brendan Allan d12ee7e678
[ENG-1342] Prompt for tagline and category when creating release (#1664)
* modal + prompt for tagline and category + refactor

* move createSlashCommand to utils
2023-10-23 14:19:34 +00:00
Brendan Allan dc33cac7f3
[ENG-1339] Don't allow releasing if branch with same name already exists (#1662)
* zod babyyy

* add api docs references
2023-10-23 09:54:52 +00:00
Alex 5e272f796b
Landing page GitHub releases pulling (#1633)
* new route for latest version

* client side fetching from own API

* Server side fetching

* implement changes

* remove LatestVersion

* typescript

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2023-10-20 05:32:30 +00:00
Brendan Allan 7373031ea2
/release slack command (#1613)
* /release slack command

* use signing secret from env

* restrict /releases to specific channel

* add note about version number increment

* stupid

* remember command

* generate_release_notes

* pnpm lock

* remove slack-edge

* man idk

* bruh

* why

* skip category if no slug

* we good
2023-10-18 05:27:31 +00:00
Brendan Allan f05f6563b6
[ENG-1290] In-app changelog + GitHub releases as CMS (#1602)
* improve docs

* in-app changelog

* derive site changelogs from github releases

* cleanup + static changelog generation

* metadata

* fix metadata fns

* update tauri handler
2023-10-18 04:26:20 +00:00
ameer2468 de0267fa98
fix bg (#1615)
Update Space.tsx
2023-10-17 21:05:38 +00:00
Harry Yep 0e49256063
fix: update release version (#1599) 2023-10-16 14:18:49 +00:00
Brendan Allan d4ad5c97f3
Migrate landing page to app dir (#1587)
* app dir yay

* better docs route

* fix icon sizing

* mobile sidebars

* detect webgl in useEffect

* separate zxcvbn
2023-10-16 04:28:16 +00:00
Vítor Vasconcellos 3b686946e6
Tauri 1.5.2 + normalize and update frontend dev deps (#1579)
* Normalize & update front-end dev-deps + Tauri 1.5.2

* format code
2023-10-14 04:27:09 +00:00
Utku Bakir 57ca557f17 detailed download tracking 2023-10-13 15:03:35 +03:00
Utku Bakir 8737dd3237 im dumb 2023-10-13 14:32:03 +03:00
Utku Bakir 79aefab9be track downloads 2023-10-13 14:30:44 +03:00
Jamie Pine e8a30da85e
Blog tweak (#1518)
* post tweaks

* stars
2023-10-11 23:58:39 +00:00
Utku 42812efca1
Fix star button (#1515)
add the button back and remove eslint disable rules
2023-10-11 19:32:18 +00:00
jake e0b249066f
[Landing] Dynamic OS/version detection and clickable platform icons (#1498)
* dynamic version + OS display, toggleable icons for multi-download platforms

* cleanup + fix requested changes
2023-10-11 16:01:27 +00:00
ameer2468 c5115de6a6
[ENG-1242] Landing page lag (#1496)
* fix lag by possibly changing space from fixed to absolute

* fix lag

* move dynamic imports up

* Update index.tsx
2023-10-11 14:33:51 +00:00
Brendan Allan b758d3865c
AppImage only + clickable OSes (#1495)
* AppImage only + clickable OSes

* disbaled
2023-10-11 11:04:44 +00:00
Kyle Dickey 7aacd44e84
Fix small grammatical errors on the alpha release blog post (#1480) 2023-10-11 00:39:05 -07:00
Vítor Vasconcellos e26f2615d0
Minor landing changes (Fix linux download text) (#1479)
* Fix linux download text
 - Add deb download button

* Fix windows download link
2023-10-11 00:05:56 -07:00
excludes 6f90a41602
enabled footerlinks (#1477) 2023-10-10 23:28:09 -07:00
excludes 6a10c8287a
Footerlinks and error in blog post missing link. (#1470) 2023-10-11 05:44:21 +00:00
Vítor Vasconcellos ba1d75e8ff
Fix landing page not working without WebGL (#1469)
Fix landing page not working with WebGL
2023-10-11 05:20:54 +00:00
Jamie Pine 38a764e43e
Landing page links (#1467)
links
2023-10-11 04:40:52 +00:00