Resolve "Rewrite REBUS with django-select2" #64
No reviewers
Labels
No labels
Security
TeX
auto-update
board
done
board
ready
board
todo
check
delete-eslint-rc-js
check
update-builddeps-package-json
check
update-eslint-rc-js
check
update-gitignore
check
update-merge-request-template
check
update-prettier-ignore
check
update-pyproject-toml
check
update-renovate-json
check
update-tox-ini
part
backend
part
ci
part
docs
part
frontend
part
i18n
part
non-technical
part
packaging
prio
1
prio
2
prio
3
release-mr-5.x
size
large
size
medium
size
small
source
customer
source
customer::fsmw
source
customer::fss
source
customer::teckids
source
downstream
type
breaking
type
bug
type
feature
type
refactoring
workflow
blocked
workflow
confirmed
workflow
current-todo
workflow
discussing
workflow
new-app
workflow
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
aleksis/AlekSIS-App-Hjelp!64
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "6-rewrite-rebus-with-django-select2"
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?
Closes #6
changed milestone to %"2.0a2"
Please add the the common usable Select2 code to the core for using it with other parts of AlekSIS, too, and refer from there in this app.
Where this function is used? And if it's used, please replace it by using the messages framework.
Actually it is not used. Anyway, it is not written by me so that I will delete it now.
changed this line in version 2 of the diff
added 1 commit
a79a96cc- remove unnecessary function create_info in views.pyCompare with previous version
added 1 commit
e4269cdd- remove datetime importCompare with previous version
resolved all threads
@hansegucker What do you mean by adding the common usable Select2 code to the core?
Mainly CSS/JS files, but I don't know if there is other reusable stuff.
I guess I will deal with that tomorrow.
Another thing: Please mark models as extensible by using
ExtensibleModel.added 1 commit
24c77191- Marked all models as ExtensibleModelCompare with previous version
So the only CSS/JS files that are not already included in the core are two files that are used to materialize select2 and which are currently in the static folder of hjelp. How do I move them to the core?
Create a new MR in core which adds the files to core static folder, wait until it's merged, then remove the files from this branch and refer the files from the core in the static tag.
added 2 commits
9d6aa1d7- Remove materialize-select2.js reference since it is not really needed in order...a1bbebc3- Drop select2-materialize.css since it is now referred to in the core.Compare with previous version
added 1 commit
b4c1c79c- Add extended_data field to match ExtensibleModelCompare with previous version
added 1 commit
b1b5cc4f- Set equal max-height and margins for all bug category fieldsCompare with previous version
added 1 commit
fd63ae74- load any_js in REBUS template and include select2-materialize JS/CSS via any_jsCompare with previous version
added 1 commit
c47a9646- Style bug category fields according to other input fields with regard to top/bottom marginsCompare with previous version
resolved all threads
Can be merged now.
resolved all threads
changed this line in version 10 of the diff
added 1 commit
b3e56ec0- Apply suggestion to aleksis/apps/hjelp/templates/hjelp/rebus.htmlCompare with previous version
Why am I mixing up JS and CSS so often recently?
resolved all threads
Please adhere to the order of imports.
Please namespace your static files in subdirectories with the app's name.
added 2 commits
e058b49f- Move CSS in subdirectory with apps name in order to fit the rest of the projecta2a11989- Merge remote-tracking branch 'origin/6-rewrite-rebus-with-django-select2' into...Compare with previous version
added 1 commit
26ca87f6- Adhere to order of importsCompare with previous version
resolved all threads
@nik Please review again. Have I missed something?
Yes, exactly half of what you were supposed to do ;).
You namespaced the CSS file, but not the JS.
mentioned in commit
766c2fc323merged