From 7cfb7fbbf27e2113facf30b6141ca6f8fed224ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Thu, 26 Feb 2026 22:06:33 +0100 Subject: [PATCH] nicolium: renames MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- packages/pl-fe/installation/mastodon.conf | 26 +++++++++---------- packages/pl-fe/src/actions/apps.ts | 4 +-- packages/pl-fe/src/actions/auth.ts | 8 +++--- packages/pl-fe/src/actions/external-auth.ts | 8 +++--- packages/pl-fe/src/actions/frontend-config.ts | 2 +- packages/pl-fe/src/actions/oauth.ts | 4 +-- packages/pl-fe/src/actions/security.ts | 4 +-- packages/pl-fe/src/api/index.ts | 2 +- packages/pl-fe/src/build-config.ts | 2 +- .../src/components/fork-awesome-icon.tsx | 4 +-- packages/pl-fe/src/components/icon.tsx | 2 +- .../components/color-picker.tsx | 0 .../components/crypto-address-input.tsx | 0 .../components/footer-link-input.tsx | 0 .../components/icon-picker-dropdown.tsx | 0 .../components/icon-picker-menu.tsx | 0 .../components/icon-picker.tsx | 0 .../components/promo-panel-input.tsx | 0 .../components/site-preview.tsx | 2 +- .../forkawesome.json | 0 .../theme-editor/components/color.tsx | 2 +- .../pl-fe/src/hooks/use-frontend-config.ts | 2 +- packages/pl-fe/src/locales/pl.json | 12 ++++----- packages/pl-fe/src/messages.ts | 2 +- .../src/pages/dashboard/frontend-config.tsx | 10 +++---- .../src/pages/dashboard/theme-editor.tsx | 2 +- .../pl-fe/src/pages/developers/create-app.tsx | 2 +- .../src/pages/developers/settings-store.tsx | 2 +- packages/pl-fe/src/precheck.ts | 2 +- packages/pl-fe/src/schemas/frontend-config.ts | 2 +- packages/pl-fe/src/service-worker/sw.ts | 2 +- packages/pl-fe/src/utils/notification.ts | 2 +- packages/pl-fe/src/utils/state.ts | 4 +-- packages/pl-fe/src/utils/static.ts | 2 +- 34 files changed, 58 insertions(+), 58 deletions(-) rename packages/pl-fe/src/features/{pl-fe-config => frontend-config}/components/color-picker.tsx (100%) rename packages/pl-fe/src/features/{pl-fe-config => frontend-config}/components/crypto-address-input.tsx (100%) rename packages/pl-fe/src/features/{pl-fe-config => frontend-config}/components/footer-link-input.tsx (100%) rename packages/pl-fe/src/features/{pl-fe-config => frontend-config}/components/icon-picker-dropdown.tsx (100%) rename packages/pl-fe/src/features/{pl-fe-config => frontend-config}/components/icon-picker-menu.tsx (100%) rename packages/pl-fe/src/features/{pl-fe-config => frontend-config}/components/icon-picker.tsx (100%) rename packages/pl-fe/src/features/{pl-fe-config => frontend-config}/components/promo-panel-input.tsx (100%) rename packages/pl-fe/src/features/{pl-fe-config => frontend-config}/components/site-preview.tsx (98%) rename packages/pl-fe/src/features/{pl-fe-config => frontend-config}/forkawesome.json (100%) diff --git a/packages/pl-fe/installation/mastodon.conf b/packages/pl-fe/installation/mastodon.conf index 6fd2e6f62..ac73b166f 100644 --- a/packages/pl-fe/installation/mastodon.conf +++ b/packages/pl-fe/installation/mastodon.conf @@ -1,4 +1,4 @@ -# Nginx configuration for pl-fe atop Mastodon. +# Nginx configuration for Nicolium atop Mastodon. # Adapted from: https://github.com/mastodon/mastodon/blob/b4d373a3df2752d9f8bdc0d7f02350528f3789b2/dist/nginx.conf # # Edit this file to change occurrences of "example.com" to your own domain. @@ -14,7 +14,7 @@ map $http_upgrade $connection_upgrade { # ActivityPub routing. map $http_accept $activitypub_location { - default @pl-fe; + default @nicolium; "application/activity+json" @mastodon; 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"' @mastodon; } @@ -33,7 +33,7 @@ server { listen 80; listen [::]:80; server_name example.com; - root /opt/pl-fe; + root /opt/nicolium; location /.well-known/acme-challenge/ { allow all; } location / { return 301 https://$host$request_uri; } } @@ -58,7 +58,7 @@ server { sendfile on; client_max_body_size 80m; - root /opt/pl-fe; + root /opt/nicolium; gzip on; gzip_disable "msie6"; @@ -93,7 +93,7 @@ server { try_files /dev/null $activitypub_location; } - # pl-fe & Mastodon (frontend) build files. + # Nicolium & Mastodon (frontend) build files. # New builds produce hashed filenames, so these should be cached heavily. location /packs { add_header Cache-Control "public, max-age=31536000, immutable"; @@ -108,7 +108,7 @@ server { try_files $uri @mastodon-packs; } - # pl-fe configuration files. + # Nicolium configuration files. # Enable CORS so we can fetch them. location /instance { add_header Access-Control-Allow-Origin "*"; @@ -119,22 +119,22 @@ server { } } - # pl-fe ServiceWorker. + # Nicolium ServiceWorker. location = /sw.js { add_header Cache-Control "public, max-age=0"; add_header Strict-Transport-Security "max-age=31536000" always; } - # pl-fe SPA (Single Page App). - location @pl-fe { + # Nicolium SPA (Single Page App). + location @nicolium { try_files /index.html /dev/null; } - # Mastodon public files (fallback to pl-fe SPA). + # Mastodon public files (fallback to Nicolium SPA). # https://github.com/mastodon/mastodon/tree/main/public location @mastodon-public { root /home/mastodon/live/public; - try_files $uri @pl-fe; + try_files $uri @nicolium; } # Like Mastodon public, without fallback to SPA. @@ -142,8 +142,8 @@ server { root /home/mastodon/live/public; } - # pl-fe & Mastodon static files. - # Try pl-fe first, Mastodon, then fall back to the SPA. + # Nicolium & Mastodon static files. + # Try Nicolium first, Mastodon, then fall back to the SPA. location @static-files { try_files $uri @mastodon-public; } diff --git a/packages/pl-fe/src/actions/apps.ts b/packages/pl-fe/src/actions/apps.ts index 8bdbd4f9a..3157f485c 100644 --- a/packages/pl-fe/src/actions/apps.ts +++ b/packages/pl-fe/src/actions/apps.ts @@ -2,8 +2,8 @@ * Apps: manage OAuth applications. * Particularly useful for auth. * https://docs.joinmastodon.org/methods/apps/ - * @module pl-fe/actions/apps - * @see module:pl-fe/actions/auth + * @module @/actions/apps + * @see module:@/actions/auth */ import { PlApiClient, type CreateApplicationParams } from 'pl-api'; diff --git a/packages/pl-fe/src/actions/auth.ts b/packages/pl-fe/src/actions/auth.ts index 86424fb43..53a267f60 100644 --- a/packages/pl-fe/src/actions/auth.ts +++ b/packages/pl-fe/src/actions/auth.ts @@ -1,10 +1,10 @@ /** * Auth: login & registration workflow. * This file contains abstractions over auth concepts. - * @module pl-fe/actions/auth - * @see module:pl-fe/actions/apps - * @see module:pl-fe/actions/oauth - * @see module:pl-fe/actions/security + * @module @/actions/auth + * @see module:@/actions/apps + * @see module:@/actions/oauth + * @see module:@/actions/security */ import { credentialAccountSchema, diff --git a/packages/pl-fe/src/actions/external-auth.ts b/packages/pl-fe/src/actions/external-auth.ts index 35a9a03a6..708731551 100644 --- a/packages/pl-fe/src/actions/external-auth.ts +++ b/packages/pl-fe/src/actions/external-auth.ts @@ -1,9 +1,9 @@ /** * External Auth: workflow for logging in to remote servers. - * @module pl-fe/actions/external_auth - * @see module:pl-fe/actions/auth - * @see module:pl-fe/actions/apps - * @see module:pl-fe/actions/oauth + * @module @/actions/external_auth + * @see module:@/actions/auth + * @see module:@/actions/apps + * @see module:@/actions/oauth */ import { instanceSchema, PlApiClient, type Instance } from 'pl-api'; diff --git a/packages/pl-fe/src/actions/frontend-config.ts b/packages/pl-fe/src/actions/frontend-config.ts index cffd0c18d..3097924c3 100644 --- a/packages/pl-fe/src/actions/frontend-config.ts +++ b/packages/pl-fe/src/actions/frontend-config.ts @@ -35,7 +35,7 @@ const rememberFrontendConfig = (host: string | null) => (dispatch: AppDispatch) const fetchFrontendConfigurations = () => (dispatch: AppDispatch, getState: () => RootState) => getClient(getState).instance.getFrontendConfigurations(); -/** Conditionally fetches pl-fe config depending on backend features */ +/** Conditionally fetches Nicolium config depending on backend features */ const fetchFrontendConfig = (host: string | null) => (dispatch: AppDispatch, getState: () => RootState) => { const features = getState().auth.client.features; diff --git a/packages/pl-fe/src/actions/oauth.ts b/packages/pl-fe/src/actions/oauth.ts index a674a73bd..b682e27b9 100644 --- a/packages/pl-fe/src/actions/oauth.ts +++ b/packages/pl-fe/src/actions/oauth.ts @@ -2,8 +2,8 @@ * OAuth: create and revoke tokens. * Tokens can be used by users and apps. * https://docs.joinmastodon.org/methods/apps/oauth/ - * @module pl-fe/actions/oauth - * @see module:pl-fe/actions/auth + * @module @/actions/oauth + * @see module:@/actions/auth */ import { PlApiClient, type GetTokenParams, type RevokeTokenParams } from 'pl-api'; diff --git a/packages/pl-fe/src/actions/security.ts b/packages/pl-fe/src/actions/security.ts index 6233d0b44..bf4d5e323 100644 --- a/packages/pl-fe/src/actions/security.ts +++ b/packages/pl-fe/src/actions/security.ts @@ -1,7 +1,7 @@ /** * Security: Pleroma-specific account management features. - * @module pl-fe/actions/security - * @see module:pl-fe/actions/auth + * @module @/actions/security + * @see module:@/actions/auth */ import { getClient } from '@/api'; diff --git a/packages/pl-fe/src/api/index.ts b/packages/pl-fe/src/api/index.ts index 707aca40f..a15606bea 100644 --- a/packages/pl-fe/src/api/index.ts +++ b/packages/pl-fe/src/api/index.ts @@ -1,6 +1,6 @@ /** * API: HTTP client and utilities. - * @module pl-fe/api + * @module @/api */ import * as BuildConfig from '@/build-config'; import { buildFullPath } from '@/utils/url'; diff --git a/packages/pl-fe/src/build-config.ts b/packages/pl-fe/src/build-config.ts index 53b7d638a..0a436833d 100644 --- a/packages/pl-fe/src/build-config.ts +++ b/packages/pl-fe/src/build-config.ts @@ -1,6 +1,6 @@ /** * Build config: configuration set at build time. - * @module pl-fe/build-config + * @module @/build-config */ const env = compileTime(() => { diff --git a/packages/pl-fe/src/components/fork-awesome-icon.tsx b/packages/pl-fe/src/components/fork-awesome-icon.tsx index c1681184b..8847fdf6b 100644 --- a/packages/pl-fe/src/components/fork-awesome-icon.tsx +++ b/packages/pl-fe/src/components/fork-awesome-icon.tsx @@ -1,8 +1,8 @@ /** * ForkAwesomeIcon: renders a ForkAwesome icon. * Full list: https://forkaweso.me/Fork-Awesome/icons/ - * @module pl-fe/components/fork_awesome_icon - * @see pl-fe/components/icon + * @module @/components/fork_awesome_icon + * @see @/components/icon */ import clsx from 'clsx'; diff --git a/packages/pl-fe/src/components/icon.tsx b/packages/pl-fe/src/components/icon.tsx index 102a2b1cb..e04d2e20b 100644 --- a/packages/pl-fe/src/components/icon.tsx +++ b/packages/pl-fe/src/components/icon.tsx @@ -1,6 +1,6 @@ /** * Icon: abstract component to render SVG icons. - * @module pl-fe/components/icon + * @module @/components/icon */ import clsx from 'clsx'; diff --git a/packages/pl-fe/src/features/pl-fe-config/components/color-picker.tsx b/packages/pl-fe/src/features/frontend-config/components/color-picker.tsx similarity index 100% rename from packages/pl-fe/src/features/pl-fe-config/components/color-picker.tsx rename to packages/pl-fe/src/features/frontend-config/components/color-picker.tsx diff --git a/packages/pl-fe/src/features/pl-fe-config/components/crypto-address-input.tsx b/packages/pl-fe/src/features/frontend-config/components/crypto-address-input.tsx similarity index 100% rename from packages/pl-fe/src/features/pl-fe-config/components/crypto-address-input.tsx rename to packages/pl-fe/src/features/frontend-config/components/crypto-address-input.tsx diff --git a/packages/pl-fe/src/features/pl-fe-config/components/footer-link-input.tsx b/packages/pl-fe/src/features/frontend-config/components/footer-link-input.tsx similarity index 100% rename from packages/pl-fe/src/features/pl-fe-config/components/footer-link-input.tsx rename to packages/pl-fe/src/features/frontend-config/components/footer-link-input.tsx diff --git a/packages/pl-fe/src/features/pl-fe-config/components/icon-picker-dropdown.tsx b/packages/pl-fe/src/features/frontend-config/components/icon-picker-dropdown.tsx similarity index 100% rename from packages/pl-fe/src/features/pl-fe-config/components/icon-picker-dropdown.tsx rename to packages/pl-fe/src/features/frontend-config/components/icon-picker-dropdown.tsx diff --git a/packages/pl-fe/src/features/pl-fe-config/components/icon-picker-menu.tsx b/packages/pl-fe/src/features/frontend-config/components/icon-picker-menu.tsx similarity index 100% rename from packages/pl-fe/src/features/pl-fe-config/components/icon-picker-menu.tsx rename to packages/pl-fe/src/features/frontend-config/components/icon-picker-menu.tsx diff --git a/packages/pl-fe/src/features/pl-fe-config/components/icon-picker.tsx b/packages/pl-fe/src/features/frontend-config/components/icon-picker.tsx similarity index 100% rename from packages/pl-fe/src/features/pl-fe-config/components/icon-picker.tsx rename to packages/pl-fe/src/features/frontend-config/components/icon-picker.tsx diff --git a/packages/pl-fe/src/features/pl-fe-config/components/promo-panel-input.tsx b/packages/pl-fe/src/features/frontend-config/components/promo-panel-input.tsx similarity index 100% rename from packages/pl-fe/src/features/pl-fe-config/components/promo-panel-input.tsx rename to packages/pl-fe/src/features/frontend-config/components/promo-panel-input.tsx diff --git a/packages/pl-fe/src/features/pl-fe-config/components/site-preview.tsx b/packages/pl-fe/src/features/frontend-config/components/site-preview.tsx similarity index 98% rename from packages/pl-fe/src/features/pl-fe-config/components/site-preview.tsx rename to packages/pl-fe/src/features/frontend-config/components/site-preview.tsx index 674621d86..19ae8fdfc 100644 --- a/packages/pl-fe/src/features/pl-fe-config/components/site-preview.tsx +++ b/packages/pl-fe/src/features/frontend-config/components/site-preview.tsx @@ -10,7 +10,7 @@ import { useThemeCss } from '@/hooks/use-theme-css'; import type { FrontendConfig } from '@/schemas/frontend-config'; interface ISitePreview { - /** Raw pl-fe configuration. */ + /** Raw Nicolium configuration. */ frontendConfig: FrontendConfig; } diff --git a/packages/pl-fe/src/features/pl-fe-config/forkawesome.json b/packages/pl-fe/src/features/frontend-config/forkawesome.json similarity index 100% rename from packages/pl-fe/src/features/pl-fe-config/forkawesome.json rename to packages/pl-fe/src/features/frontend-config/forkawesome.json diff --git a/packages/pl-fe/src/features/theme-editor/components/color.tsx b/packages/pl-fe/src/features/theme-editor/components/color.tsx index c226eb3e3..83238207a 100644 --- a/packages/pl-fe/src/features/theme-editor/components/color.tsx +++ b/packages/pl-fe/src/features/theme-editor/components/color.tsx @@ -1,6 +1,6 @@ import React from 'react'; -import ColorPicker from '@/features/pl-fe-config/components/color-picker'; +import ColorPicker from '@/features/frontend-config/components/color-picker'; import type { ColorChangeHandler } from 'react-color'; diff --git a/packages/pl-fe/src/hooks/use-frontend-config.ts b/packages/pl-fe/src/hooks/use-frontend-config.ts index ccd88f607..4bf920596 100644 --- a/packages/pl-fe/src/hooks/use-frontend-config.ts +++ b/packages/pl-fe/src/hooks/use-frontend-config.ts @@ -2,7 +2,7 @@ import { getFrontendConfig } from '@/actions/frontend-config'; import { useAppSelector } from './use-app-selector'; -/** Get the pl-fe config from the store */ +/** Get the Nicolium config from the store */ const useFrontendConfig = () => useAppSelector((state) => getFrontendConfig(state)); export { useFrontendConfig }; diff --git a/packages/pl-fe/src/locales/pl.json b/packages/pl-fe/src/locales/pl.json index 64d54ce60..6066a0aef 100644 --- a/packages/pl-fe/src/locales/pl.json +++ b/packages/pl-fe/src/locales/pl.json @@ -266,7 +266,7 @@ "alt_text_modal.saving_failed": "Nie udało się zapisać tekstu alternatywnego", "announcements.title": "Ogłoszenia", "app_create.name_label": "Nazwa aplikacji", - "app_create.name_placeholder": "np. „pl-fe”", + "app_create.name_placeholder": "np. „Nicolium”", "app_create.redirect_uri_label": "Adresy przekeirowania", "app_create.restart": "Utwórz kolejną", "app_create.results.app_label": "Aplikacja", @@ -486,7 +486,7 @@ "column.notifications": "Powiadomienia", "column.outgoing_follow_requests": "Wychodzące prośby o możliwość obserwacji", "column.pins": "Przypięte wpisy", - "column.frontend_config": "Konfiguracja pl-fe", + "column.frontend_config": "Konfiguracja Nicolium", "column.preferences": "Preferencje", "column.privacy": "Prywatność", "column.public": "Sfederowana oś czasu", @@ -1320,7 +1320,7 @@ "navigation_bar.logout": "Wyloguj", "navigation_bar.manage_event": "Zarządzaj wydarzeniem", "navigation_bar.mutes": "Wyciszeni użytkownicy", - "navigation_bar.frontend_config": "Konfiguracja pl-fe", + "navigation_bar.frontend_config": "Konfiguracja Nicolium", "navigation_bar.preferences": "Preferencje", "navigation_bar.profile_directory": "Katalog profilów", "new_event_panel.action": "Utwórz wydarzenie", @@ -1401,7 +1401,7 @@ "frontend_config.hints.home_footer_fields": "Możesz ustawić niestandardowe odnośniki wyświetlane w stopce statycznych stron", "frontend_config.hints.logo": "SVG lub PNG. Maksymalnie 2 MB. Będzie mieć maksymalnie 50px wysokości, zachowując współczynnik proporcji", "frontend_config.hints.promo_panel_fields": "Możesz ustawić niestandardowe odnośniki wyświetlane w prawym panelu strony osi czasu.", - "frontend_config.hints.promo_panel_icons.link": "Lista ikon pl-fe", + "frontend_config.hints.promo_panel_icons.link": "Lista ikon Nicolium", "frontend_config.home_footer.meta_fields.label_placeholder": "Podpis", "frontend_config.home_footer.meta_fields.url_placeholder": "Adres URL", "frontend_config.media_preview_hint": "Niektóre back-endy pozwalają korzystać ze zoptymalizowanych wersji mediów do wyświetlania na osi czasu. Mogą one jednak być zbyt małe bez dodatkowej konfiguracji.", @@ -1415,7 +1415,7 @@ "frontend_config.redirect_root_no_login_hint": "Cel przekierowania, jeśli użytkownik jest niezalogowany.", "frontend_config.redirect_root_no_login_label": "Przekieruj stronę główną", "frontend_config.save": "Zapisz", - "frontend_config.saved": "Zapisano konfigurację pl-fe!", + "frontend_config.saved": "Zapisano konfigurację Nicolium!", "frontend_config.sentry_dsn_hint": "Adres URL DSN do zgłaszania błędów. Działa z Sentry i GlitchTip.", "frontend_config.sentry_dsn_label": "DSN Sentry", "frontend_config.tile_server_attribution_label": "Atrybucja kafelków map", @@ -1440,7 +1440,7 @@ "preferences.fields.content_type_label": "Format wpisów", "preferences.fields.delete_modal_label": "Pokazuj prośbę o potwierdzenie przed usunięciem wpisu", "preferences.fields.demetricator_label": "Ukrywaj liczby", - "preferences.fields.demo_hint": "Użyj domyślnego logo i schematu kolorystycznego pl-fe. Przydatne przy wykonywaniu zrzutów ekranu.", + "preferences.fields.demo_hint": "Użyj domyślnego logo i schematu kolorystycznego Nicolium. Przydatne przy wykonywaniu zrzutów ekranu.", "preferences.fields.demo_label": "Tryb demo", "preferences.fields.display_media.default": "Ukrywaj media oznaczone jako wrażliwe", "preferences.fields.display_media.hide_all": "Ukrywaj wszystkie media", diff --git a/packages/pl-fe/src/messages.ts b/packages/pl-fe/src/messages.ts index 1e8d9734b..892f9a3eb 100644 --- a/packages/pl-fe/src/messages.ts +++ b/packages/pl-fe/src/messages.ts @@ -94,7 +94,7 @@ const locales = [ 'zh-TW', ] as const; -/** pl-fe locales map */ +/** Nicolium locales map */ const messages = locales.reduce( (acc, locale) => { acc[locale] = () => importMessagesWithCustom(locale); diff --git a/packages/pl-fe/src/pages/dashboard/frontend-config.tsx b/packages/pl-fe/src/pages/dashboard/frontend-config.tsx index 1706278d0..9e50c74c9 100644 --- a/packages/pl-fe/src/pages/dashboard/frontend-config.tsx +++ b/packages/pl-fe/src/pages/dashboard/frontend-config.tsx @@ -19,10 +19,10 @@ import Select from '@/components/ui/select'; import Streamfield from '@/components/ui/streamfield'; import Textarea from '@/components/ui/textarea'; import Toggle from '@/components/ui/toggle'; -import CryptoAddressInput from '@/features/pl-fe-config/components/crypto-address-input'; -import FooterLinkInput from '@/features/pl-fe-config/components/footer-link-input'; -import PromoPanelInput from '@/features/pl-fe-config/components/promo-panel-input'; -import SitePreview from '@/features/pl-fe-config/components/site-preview'; +import CryptoAddressInput from '@/features/frontend-config/components/crypto-address-input'; +import FooterLinkInput from '@/features/frontend-config/components/footer-link-input'; +import PromoPanelInput from '@/features/frontend-config/components/promo-panel-input'; +import SitePreview from '@/features/frontend-config/components/site-preview'; import ThemeSelector from '@/features/ui/components/theme-selector'; import { useAppDispatch } from '@/hooks/use-app-dispatch'; import { useAppSelector } from '@/hooks/use-app-selector'; @@ -38,7 +38,7 @@ import toast from '@/toast'; const messages = defineMessages({ heading: { id: 'column.frontend_config', defaultMessage: 'Front-end configuration' }, - saved: { id: 'frontend_config.saved', defaultMessage: 'pl-fe config saved!' }, + saved: { id: 'frontend_config.saved', defaultMessage: 'Nicolium config saved!' }, copyrightFooterLabel: { id: 'frontend_config.copyright_footer.meta_fields.label_placeholder', defaultMessage: 'Copyright footer', diff --git a/packages/pl-fe/src/pages/dashboard/theme-editor.tsx b/packages/pl-fe/src/pages/dashboard/theme-editor.tsx index ab93386d9..be4354cd5 100644 --- a/packages/pl-fe/src/pages/dashboard/theme-editor.tsx +++ b/packages/pl-fe/src/pages/dashboard/theme-editor.tsx @@ -11,7 +11,7 @@ import Button from '@/components/ui/button'; import Column from '@/components/ui/column'; import Form from '@/components/ui/form'; import FormActions from '@/components/ui/form-actions'; -import ColorPicker from '@/features/pl-fe-config/components/color-picker'; +import ColorPicker from '@/features/frontend-config/components/color-picker'; import Palette, { type ColorGroup } from '@/features/theme-editor/components/palette'; import { useAppDispatch } from '@/hooks/use-app-dispatch'; import { useAppSelector } from '@/hooks/use-app-selector'; diff --git a/packages/pl-fe/src/pages/developers/create-app.tsx b/packages/pl-fe/src/pages/developers/create-app.tsx index 65454687f..bd6253239 100644 --- a/packages/pl-fe/src/pages/developers/create-app.tsx +++ b/packages/pl-fe/src/pages/developers/create-app.tsx @@ -19,7 +19,7 @@ import type { CredentialApplication, Token } from 'pl-api'; const messages = defineMessages({ heading: { id: 'column.app_create', defaultMessage: 'Create app' }, - namePlaceholder: { id: 'app_create.name_placeholder', defaultMessage: "e.g. 'pl-fe'" }, + namePlaceholder: { id: 'app_create.name_placeholder', defaultMessage: "e.g. 'Nicolium'" }, scopesPlaceholder: { id: 'app_create.scopes_placeholder', defaultMessage: "e.g. 'read write follow'", diff --git a/packages/pl-fe/src/pages/developers/settings-store.tsx b/packages/pl-fe/src/pages/developers/settings-store.tsx index e012ee10d..8aa94bca7 100644 --- a/packages/pl-fe/src/pages/developers/settings-store.tsx +++ b/packages/pl-fe/src/pages/developers/settings-store.tsx @@ -107,7 +107,7 @@ const SettingsStore: React.FC = () => { hint={ } > diff --git a/packages/pl-fe/src/precheck.ts b/packages/pl-fe/src/precheck.ts index c4d27358f..85683049f 100644 --- a/packages/pl-fe/src/precheck.ts +++ b/packages/pl-fe/src/precheck.ts @@ -1,6 +1,6 @@ /** * Precheck: information about the site before anything renders. - * @module pl-fe/precheck + * @module @/precheck */ /** Whether pre-rendered data exists in Pleroma's format. */ diff --git a/packages/pl-fe/src/schemas/frontend-config.ts b/packages/pl-fe/src/schemas/frontend-config.ts index 2c74c110c..76bbc42ce 100644 --- a/packages/pl-fe/src/schemas/frontend-config.ts +++ b/packages/pl-fe/src/schemas/frontend-config.ts @@ -103,7 +103,7 @@ const frontendConfigSchema = coerceObject({ return ''; } } catch (e) { - console.error('You have configured an invalid redirect in pl-fe Config.'); + console.error('You have configured an invalid redirect in Nicolium Config.'); console.error(e); return ''; } diff --git a/packages/pl-fe/src/service-worker/sw.ts b/packages/pl-fe/src/service-worker/sw.ts index fc2e6b8d5..ccff2dab2 100644 --- a/packages/pl-fe/src/service-worker/sw.ts +++ b/packages/pl-fe/src/service-worker/sw.ts @@ -19,7 +19,7 @@ const GROUP_TAG = 'tag'; // https://www.devextent.com/create-service-worker-typescript/ declare const self: ServiceWorkerGlobalScope; -/** pl-fe notification data from push event. */ +/** Nicolium notification data from push event. */ interface NotificationData { access_token?: string; count?: number; diff --git a/packages/pl-fe/src/utils/notification.ts b/packages/pl-fe/src/utils/notification.ts index 6f778804e..d1587ddf7 100644 --- a/packages/pl-fe/src/utils/notification.ts +++ b/packages/pl-fe/src/utils/notification.ts @@ -1,6 +1,6 @@ import type { Notification } from 'pl-api'; -/** Notification types known to pl-fe. */ +/** Notification types known to Nicolium. */ const NOTIFICATION_TYPES = [ 'follow', 'follow_request', diff --git a/packages/pl-fe/src/utils/state.ts b/packages/pl-fe/src/utils/state.ts index 195feb3a2..75155e6b4 100644 --- a/packages/pl-fe/src/utils/state.ts +++ b/packages/pl-fe/src/utils/state.ts @@ -1,6 +1,6 @@ /** * State: general Redux state utility functions. - * @module pl-fe/utils/state + * @module @/utils/state */ import { getFrontendConfig } from '@/actions/frontend-config'; @@ -19,7 +19,7 @@ const federationRestrictionsDisclosed = (state: RootState): boolean => !!state.instance.pleroma.metadata.federation.mrf_policies; /** - * Determine whether pl-fe is running in standalone mode. + * Determine whether Nicolium is running in standalone mode. * Standalone mode runs separately from any backend and can login anywhere. */ const isStandalone = (state: RootState): boolean => { diff --git a/packages/pl-fe/src/utils/static.ts b/packages/pl-fe/src/utils/static.ts index 9f81c4997..6d1d7ef81 100644 --- a/packages/pl-fe/src/utils/static.ts +++ b/packages/pl-fe/src/utils/static.ts @@ -1,6 +1,6 @@ /** * Static: functions related to static files. - * @module pl-fe/utils/static + * @module @/utils/static */ import { join } from 'path-browserify';