assets folder + emoji drawer #254
No reviewers
Labels
No Label
1app
2 apps
accessibility
android
before-beta
bug
duplicate
enhancement
first-contact
fixed
help wanted
infrastructure
invalid
low-priority
must-fix
needs testing
nice-to-have
question
tor
user-feedback
wontfix
No Milestone
No Assignees
3 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cwtch.im/ui#254
Loading…
Reference in New Issue
No description provided.
Delete Branch "assmoji"
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?
Assets folder is extremely simple; just write paths in QML as
gcd.assetPath + "path/to/file.png"
. Per our discussion, our existing release bundling workflow shouldn't need to be changed. The makefile temporarily moves theassets
folder from root into the appropriate build folder before building, and qtdeploy takes care of it from there.I had to manually merge the Makefile and fear I may have munged it a bit so please pay extra attention to it.
The emoji drawer is a bit of a rough cut but it would be nice to dogfood it a bit before our next release.
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/ui/461
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/ui/463
main.go
the '+ "/"' is not os agnostic, won't play well on windows, and just out side the os safe path.Join --- from further checking bewlow and seeing its only used in qml/js, i'm optimistically willing to hope this might actually work?
qml/main.qml
prolly need at least
gcd.assetPath + "/twemoji/"
but i'm concerned about windows compatibility. In my dreams QML does the slash/path transform for us correctly cus JS + web magic... but I'll need to testqml/eidgets/EmojiDrawers.qml
this will cause translation problems, we need two different string ids (like
clock-toggle-andoid and click-toggle-dekstop) to be picked from. Then just run
lupdate ui.proto update the human translateable files,
linquistand load the .en one and enter the translations (and mark them done/aproved) and then run
lrelease ui.pro` to update the translation filesx the above comment for each time in this file this is done
qrc.qml was deleted - should be restored
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/ui/465
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/ui/467
looks good