Commit Graph

261 Commits (47f3ab97edebb48b1ab10f7196cc08d60fbcbfb8)

Author SHA1 Message Date
Chocobozzz 54aad475b0
Add local videos homepage 2024-12-18 15:35:05 +01:00
Chocobozzz 09cb769bab
Fix invalid i18n tag 2024-12-17 13:51:09 +01:00
Chocobozzz aac9ff8931
Menu secondary button consistency 2024-12-12 10:09:55 +01:00
Chocobozzz 1dc6109989
Fix menu palette 2024-12-11 15:54:42 +01:00
Chocobozzz 21d4de3e14
Fix menu active/hover colors 2024-11-29 09:13:15 +01:00
Chocobozzz e560ec090c
Menu hover/active link fixes 2024-11-28 16:21:49 +01:00
Chocobozzz f743705b4d
Provide multiple shades of on-primary color 2024-11-28 15:30:31 +01:00
Chocobozzz 0f2c182975
Add ability for anonymous to change interface lang 2024-11-27 15:23:34 +01:00
Chocobozzz f27beec235
Fix menu accessibility
Signed-off-by: Chocobozzz <me@florianbigard.com>
2024-11-27 14:24:23 +01:00
Chocobozzz 3eb1f23977
Refresh horizontal menu on login change 2024-11-27 10:20:19 +01:00
Chocobozzz 8e20aa0c23
Style fixes
Signed-off-by: Chocobozzz <me@florianbigard.com>
2024-11-27 08:47:54 +01:00
Chocobozzz 488b89433f
Fix admin welcome modal show check 2024-11-27 07:15:32 +01:00
Chocobozzz 5d0e72ba50
Fix subscription entry displayed for anonymous 2024-11-26 14:38:25 +01:00
Chocobozzz f83674c143
Global client redesign
* Split "my library" into "video space (channels, videos...)" and "my library (playlists, history...)"
 * Split "admin" into "overview (users, videos...)", "moderation (abuses, blocks, registrations...)" and "settings (configuration, runners...)"
 * Reorganize the header and the left menu: account settings/notifications are now in the header
 * Add instance information context in the left menu
 * Merge dedicated videos pages for "recently added", "trending", "local videos" into a "browse videos" page that includes quick filters
 * Clean up entire CSS
 * Clean CSS variables so it's easier to theme PeerTube (some new variables fallback to old variables to limit currnet themes breakages)
 * Replace the current light theme into a new one (beige)
 * Add a dark (brown) theme (included in PeerTube core)
 * Fix accessibility issues with old light theme colors (white on orange button for example)
 * Redesign the left menu, the horizontal menu, form controls and buttons, "Discover videos" page and common video filters panel
 * Replace/remove/add some global icon
2024-11-23 14:44:49 +01:00
Chocobozzz ae31ff79ac
Improve menu nested li/ul 2024-09-27 16:17:19 +02:00
Chocobozzz bc2a055bc8
Fix nested lists HTML markup 2024-09-26 16:40:04 +02:00
Chocobozzz 2011bc29dd
Fix alert accessibility 2024-09-25 16:06:38 +02:00
Chocobozzz 2dbb83c11b
Reorganize main shared 2024-09-25 16:06:38 +02:00
Chocobozzz c73576cef3
Fix P2P toggle accessibility 2024-09-25 16:06:38 +02:00
Chocobozzz fff5a323fd
Fix notification dropdown accessibility 2024-09-25 16:06:37 +02:00
Chocobozzz c5b66526eb
Fix sass mixed declarations deprecation warning
https://sass-lang.com/documentation/breaking-changes/mixed-decls/
2024-08-19 09:35:41 +02:00
Chocobozzz ca58501c52
Fix logged-in menu link width 2024-08-08 14:02:19 +02:00
Chocobozzz c5772f05d8
Fix left menu block title ellipsis 2024-08-08 10:47:58 +02:00
Chocobozzz 9772280e99
Upgrade to angular 18 & vite 2024-06-26 08:33:54 +02:00
Chocobozzz 46a2c15eaf
Fix menu list items 2024-06-11 11:16:25 +02:00
Chocobozzz b455a59bfd
Fix focus-visible
Also remove polyfill now :focus-visible is in baseline
2024-06-10 11:20:04 +02:00
Chocobozzz aa1ea0b6c8
Fix notification link on mobile 2024-04-22 14:36:00 +02:00
Chocobozzz eb2ee34c57
Fix menu router link active 2024-03-08 09:53:42 +01:00
Chocobozzz 338633ce72
Remove barrels
They can prevent tree shaking
2024-03-05 10:52:32 +01:00
Chocobozzz 5e041ff7c2
Migrate to standalone components 2024-03-04 16:35:23 +01:00
Chocobozzz 62cc9b1752
Use standalone components for menu 2024-03-04 09:34:25 +01:00
Chocobozzz 9e2700b89d
Fix lint 2024-02-22 10:32:28 +01:00
Chocobozzz 1387e0a3bb
It's 2024! 2024-02-16 08:58:29 +01:00
Chocobozzz d1adcfadfd
Update angular to v17 2024-01-05 10:47:14 +01:00
Chocobozzz 6e613df63f
Fix notification scrolling 2023-11-07 11:19:36 +01:00
Chocobozzz c6d2384aa7
Fix global buttons accessibility 2023-10-12 15:01:17 +02:00
Chocobozzz 57abac459b
Fix registration button style 2023-10-10 08:41:35 +02:00
Chocobozzz 50e415e12e
Allow to disable all hotkeys
Added angular2-hotkeys dependency inside PeerTube, to tweak some
settings

It will also allow us to support non latin keyboard in the future as we
can choose the "mouse trap" dependency
2023-10-09 15:33:19 +02:00
Chocobozzz 04bc2e2dbe
Use lists for the left menu 2023-10-06 11:23:12 +02:00
Chocobozzz 2861397f9d
Replace <menu> by <nav> for left menu 2023-10-06 10:45:42 +02:00
Chocobozzz c5397bd066
Fix broadcast dismiss icon accessibility 2023-10-05 16:30:08 +02:00
Chocobozzz 77b70702d2
Add video chapters support 2023-08-28 16:17:31 +02:00
Chocobozzz 3a4992633e
Migrate server to ESM
Sorry for the very big commit that may lead to git log issues and merge
conflicts, but it's a major step forward:

 * Server can be faster at startup because imports() are async and we can
   easily lazy import big modules
 * Angular doesn't seem to support ES import (with .js extension), so we
   had to correctly organize peertube into a monorepo:
    * Use yarn workspace feature
    * Use typescript reference projects for dependencies
    * Shared projects have been moved into "packages", each one is now a
      node module (with a dedicated package.json/tsconfig.json)
    * server/tools have been moved into apps/ and is now a dedicated app
      bundled and published on NPM so users don't have to build peertube
      cli tools manually
    * server/tests have been moved into packages/ so we don't compile
      them every time we want to run the server
 * Use isolatedModule option:
   * Had to move from const enum to const
     (https://www.typescriptlang.org/docs/handbook/enums.html#objects-vs-enums)
   * Had to explictely specify "type" imports when used in decorators
 * Prefer tsx (that uses esbuild under the hood) instead of ts-node to
   load typescript files (tests with mocha or scripts):
     * To reduce test complexity as esbuild doesn't support decorator
       metadata, we only test server files that do not import server
       models
     * We still build tests files into js files for a faster CI
 * Remove unmaintained peertube CLI import script
 * Removed some barrels to speed up execution (less imports)
2023-08-11 15:02:33 +02:00
Chocobozzz b63c607b92
Fix updating P2P setting 2023-07-21 11:07:49 +02:00
Chocobozzz 58af76dc4e
Fix REST API menu link 2023-06-07 08:26:10 +02:00
Chocobozzz f9735a9e88
Fix notification settings 2023-05-24 17:22:40 +02:00
Chocobozzz 5490930428
Remove suppressImplicitAnyIndexErrors
It's deprecated by TS
2023-05-24 16:56:05 +02:00
Chocobozzz d0fbc9fd0a
Fix lint 2023-05-24 15:27:15 +02:00
Chocobozzz 8527f4b163
Fix menu dropdowns
Better responsive
Avoid menu scrollbar displayed in notification popove
2023-05-22 08:22:57 +02:00
Chocobozzz 47d883de2e
Merge branch 'release/5.1.0' into develop 2023-03-16 14:24:50 +01:00