mirror of
https://github.com/go-shiori/shiori.git
synced 2026-04-25 06:25:54 +03:00
[PR #764] [MERGED] chore: frontend formatting #780
Labels
No labels
component:backend
component:builds
component:builds
component:extension
component:frontend
component:readability
database
database:mysql
database:postgres
database:sqlite
feature:ebooks
github_actions
good first issue
hacktoberfest
note:duplicate?
note:fixed?
note:out-of-scope?
os:windows
priority:high
priority:low
pull-request
resolution:as-intended
resolution:cant-reproduce
resolution:duplicate
resolution:fixed
resolution:wontfix
tag:TBD
tag:big-task
tag:help-wanted
tag:huge-data
tag:meta
tag:more-info
tag:next
tag:no-stale
tag:requires-migrations
tag:research
tag:security 🛡️
tag:stale
tag:waiting-for-assignee
type:bug
type:documentation
type:enhancement
type:meta
type:ux
user:cli
user:web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shiori#780
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/go-shiori/shiori/pull/764
Author: @cbe
Created: 10/17/2023
Status: ✅ Merged
Merged: 11/5/2023
Merged by: @fmartingr
Base:
master← Head:frontend_formatting📝 Commits (9)
46ec50eInstallprettier23881d5Configure prettiere2af5dcCheck & format with prettier when compiling lessa099933Update docs to use bunf649720Check actual result of prettier4c6eb19Use LF line endings1676e5dLimit prettier tointernal/view/38351bcMerge remote-tracking branch 'master' into frontend_formatting5f1fe2bFormat code with prettier📊 Changes
19 files changed (+1273 additions, -1113 deletions)
View changed files
➕
.prettierignore(+16 -0)➕
.prettierrc(+3 -0)📝
bun.lockb(+0 -0)📝
docs/Contribute.md(+1 -1)📝
internal/view/assets/css/archive.css(+1 -1)📝
internal/view/assets/css/style.css(+1 -1)📝
internal/view/assets/js/component/bookmark.js(+20 -23)📝
internal/view/assets/js/component/dialog.js(+64 -53)📝
internal/view/assets/js/component/pagination.js(+4 -4)📝
internal/view/assets/js/page/base.js(+31 -21)📝
internal/view/assets/js/page/home.js(+432 -344)📝
internal/view/assets/js/page/setting.js(+169 -146)📝
internal/view/assets/less/archive.less(+28 -28)📝
internal/view/assets/less/bookmark-item.less(+98 -98)📝
internal/view/assets/less/common.less(+295 -295)📝
internal/view/assets/less/custom-dialog.less(+96 -97)📝
package.json(+7 -1)📝
scripts/styles.sh(+1 -0)📝
scripts/styles_check.sh(+6 -0)📄 Description
As discussed this draft is a suggestion to format frontend files to prevent a mix-up of tabs/spaces. Sadly c7ad3ffd42a599c86d8977d7058ee02660c340c3 is a rather large commit due to the configuration forcing streamlined line endings (and other things like indentation) to all less & js files.
I would understand if this is too large of a changeset for such a minor thing.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.