Skip to content
This repository has been archived by the owner on Dec 25, 2023. It is now read-only.

Commit

Permalink
Adopt to new modern dialog (#322)
Browse files Browse the repository at this point in the history
* Localization

* Changed dependency for basicModal

* Rewrote CSS

* Adopted jsDoc for basic modal

* Adopted create login dialog

* Adopted create (regular) album dialog

* Adopted create (tag) album dialog

* Adopted show tags dialog

* Adopted rename album dialog

* Adopted set album description dialog

* Adopted set album license dialog

* Adopted set album soring dialog

* Fix `basicModal.visible`

* Adopted login and about dialog

* Renamed some methods

* Adopt Album Protection Policy Dialog

* Make formatting

* Adopted Album Sharing Dialog

* Adopted QR dialog

* Adopted Delete Album Dialog

* Adopted Album Move/Merge Dialog

* Adopted Enter Password Dialog

* Adopt Import From URL Dialog

* Adopt Import From Server Dialog

* Adopt Upload Dialogs

* Fix closing of dialogs

* Adopted U2F dialog

* Adopted all dialogs but those for photos

* Adopted Photo Title Dialog

* Adopted Photo Protection Policy Dialog

* Adopted Photo Description Dialog

* Adopted Photo Tag Dialog

* Adopted change from dialog to content area

* Adopted Photo Link Dialog

* Adopted Photo QR Code Dialog

* Adopted Photo Archive Dialog

* Some cleanup

* Fix last dialog

* Fixed API token dialog

* Run prettier

* Update scripts/3rd-party/basicModal.js

Co-authored-by: Kamil Iskra <[email protected]>

* Apply suggestions from code review

Co-authored-by: Kamil Iskra <[email protected]>

* Fix Typo "Model" -> "Modal"

* Fixed localization of sorting dialog

* Remove unnecessary else-branch in initLogin

* Fixed localization

* Fix error dialog for failed login

* Apply suggestions from code review

Co-authored-by: Kamil Iskra <[email protected]>

* Apply suggestion from code review.

Co-authored-by: Kamil Iskra <[email protected]>

* Removed unnecessaey !!

* Removed jQuery leftover

* Apply suggestions from code review

Co-authored-by: Kamil Iskra <[email protected]>

* Made difference between layouts compact and compact-inverse more explicit

* Apply suggestions from code review

Co-authored-by: Kamil Iskra <[email protected]>

* Repair import from server (again)

* Fixed typo

* Switched NPM dep for basicModal to v4.0.0

* Switch to PR commit for basicModal to solve focussing problem

* Fix round corners of search box

* Repair button border in download dialog

* Fixed mising space

* Always keep the last updated element of the upload list at the end

* Tweak the borders and shadows in dialog boxes

* Fix localization of general error during upload

Co-authored-by: Kamil Iskra <[email protected]>
  • Loading branch information
nagmat84 and kamil4 committed Oct 19, 2022
1 parent 6471e78 commit 7dbae02
Show file tree
Hide file tree
Showing 29 changed files with 2,655 additions and 2,067 deletions.
48 changes: 24 additions & 24 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@
"name": "lychee",
"version": "4.0.10",
"description": "Self-hosted photo-management done right.",
"authors": "Tobias Reich <[email protected]>",
"authors": [
"Tobias Reich <[email protected]>",
"The Lychee Organization"
],
"license": "MIT",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/LycheeOrg/Lychee.git"
"url": "https://github.com/LycheeOrg/Lychee-front.git"
},
"scripts": {
"start": "gulp watch",
Expand All @@ -19,7 +22,7 @@
"node": ">= 10"
},
"dependencies": {
"basicmodal": "https://github.com/LycheeOrg/basicModal/archive/refs/tags/v3.3.9.tar.gz",
"basicmodal": "LycheeOrg/basicModal#v4.0.1",
"jquery": "^3.4.0",
"justified-layout": "^4.1.0",
"lazysizes": "^5.3.0",
Expand Down
2 changes: 1 addition & 1 deletion scripts/3rd-party/backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ const SmartAlbumID = Object.freeze({
* @property {string} swipe_tolerance_x - actually a number
* @property {string} swipe_tolerance_y - actually a number
* @property {string} upload_processing_limit - actually a number
* @property {string} version - actually a number
* @property {string} version - a string of 6 digits without separating dots, i.e. version 4.6.3 is reported as `'040603'`
*/

/**
Expand Down
Loading

0 comments on commit 7dbae02

Please sign in to comment.