summaryrefslogtreecommitdiff
path: root/lua
AgeCommit message (Collapse)Author
2025-02-11Revert the smaller icons that were actually biggerjacqueline
Google 'images inflation' to learn more
2025-02-07Make icons smallerayumi
2025-02-07Add centre button haptic feedback on touch, and setting to disable/lessen ↵ailurux
haptics (#246) This adds a way for feedback devices to respond to events from outside of LVGL's event system, being passed from input device to feedback device through a vector. This was done so that touch events and long-press triggers can now give feedback through haptics. This PR also adds haptic modes, saved in nvs similarly to input and locked input modes, to disable or change the haptic effect behaviour based on which mode is selected. Finally, this also fixes a bug in which some click events would not trigger haptics, at the expense of re-introducing the (undesired?) behaviour of clicking a button that transitions to a new screen causing a double click. Relevant issues this should close: #195, #233, and (partially?) #120 Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/246 Co-authored-by: ailurux <ailuruxx@gmail.com> Co-committed-by: ailurux <ailuruxx@gmail.com>
2025-02-07Merge pull request 'UI/TTS: Add descriptions for UI elements (toggles, ↵cooljqln
dropdowns) lacking them' (#248) from tursiae/tangara-fw:ttsdesc into main Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/248
2025-02-06Compress ce.png and weee.png using pngquantrdsh
2025-02-06Compressed iconsrdsh
2025-02-06Add missing UI element descriptions for TTS.Tursiae
2025-02-06Add widget descriptions where missing.Tursiae
2025-02-05Add smaller icons for playlists and directory filesailurux
2025-02-05Merge branch 'main' into playlist-browserailurux
2025-02-05Update to latest version of fusion12 and build it like 10pxRiver Tae Smith
2025-02-04Merge branch 'main' into playlist-browserslord
2025-02-04Wrap filesystem iteratorSam
Change to wrapping the filesystem iterator rather than iterating over table values. Also centralise the is_playlist check and hide Playlists menu if none are present
2025-02-04Fix merge issue breaking control settings screenailurux
2025-02-03Merge pull request 'Add optional support for adjusting volume while locked' ↵cooljqln
(#230) from teisenbe/tangara-fw:locked_input into main Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/230
2025-02-03Use Playlist subdirectorySam
Target /Playlists, display and browse sub directories and playlists within
2025-02-02Add optional support for changing volume while lockedTess Eisenberger
This adds a new Controls setting for adjusting the behavior when locked, and an option for allowing volume control.
2025-02-01Autofocus controls in settings screensRockwell Schrock
2025-02-01Autofocus the first index on the main menuRockwell Schrock
2025-02-01On the playing screen, show "Not Playing" when the queue is emptyRockwell Schrock
2025-02-01Remove unused importsSam
2025-02-01Add playlist browserSam
Add a menu item to main menu and associated browser for playlist files in the root of the SD card
2025-02-01Add outline to switch for better legibility in hicon themeailurux
2025-01-31Merge pull request 'Highlight background on dropdown focus' (#208) from ↵ailurux
r-tae/tangara-fw:dropdown-recolour into main Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/208
2025-01-31Change dropdown background on focusRiver Tae Smith
2025-01-29On browser and file_browser screens, focus the first item when appearingRockwell Schrock
2025-01-17Don't show "go to" buttons if no track or if we don't know the artist/albumailurux
2025-01-17ailurux/now-playing-menu (#184)ailurux
Overflow menu for the now playing screen. New home for the info screen here. Adds quick navigation to current album or artist (thanks tjk!) and clear queue button. Also fixed up the way the now playing screen looks when queue is cleared (remove previous duration and don't show "loading" if nothing is actively loading). Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/184 Co-authored-by: ailurux <ailuruxx@gmail.com> Co-committed-by: ailurux <ailuruxx@gmail.com>
2025-01-14Merge pull request 'Ensure settings sections are in view' (#177) from ↵cooljqln
tjk/tangara-fw:settings-scroll into main Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/177
2025-01-12Ensure Audio section header in settings is visibleTom Kirchner
2025-01-13Merge pull request 'Update licensing info' (#174) from ↵cooljqln
tjk/tangara-fw:update-reuse into main Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/174 Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org>
2025-01-10Merge pull request 'Show "Unknown Artist" when artist is missing' (#173) ↵cooljqln
from tjk/tangara-fw:clear-artist into main Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/173
2025-01-08Split long license lines so they fit on screenTom Kirchner
2025-01-08Allow scrolling of license textTom Kirchner
2025-01-08Update on-device license listTom Kirchner
2025-01-08Add bitrate infoTom Kirchner
2025-01-08Add missing copyright/license headersTom Kirchner
2025-01-07Use "Unknown Artist" when tag is missingTom Kirchner
This fixes the case where you switch from a file with an artist to one with no artist, which would show the old artist. The album field is already hidden, title shows the filename if missing, and the track info screen is fully reset, so this covers everything currently present.
2025-01-07Improvements to the queue for shuffling/playing all (#170)ailurux
Queue now has a separate 'ready' property to indicate it's ready to be used, which is independent from whether it's still loading tracks in. This also improves the response time for shuffling all tracks (we will initially pick a random track in the first 100 tracks whilst the rest of the tracks are loading). This should also fix issues where one song will start playing and then repeat itself when the queue finishes loading, and hopefully solve #160 as well (though I couldn't actually repro this myself). Co-authored-by: jacqueline <me@jacqueline.id.au> Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/170 Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org> Co-authored-by: ailurux <ailuruxx@gmail.com> Co-committed-by: ailurux <ailuruxx@gmail.com>
2025-01-06Reduce horizontal spacing on controls for more room for additional info buttonailurux
2025-01-02Add track info screenTom Kirchner
2025-01-02Hide the album line if the current track has no albumjacqueline
2025-01-02Invert the balance value in the settings UIjacqueline
Fixes #167
2024-12-29Show album name on now-playing screenTom Kirchner
2024-12-29Write settings to nvs when changing from the setting screenClayton Craft
Otherwise, settings may not actually be saved if the device crashes/ reboots unexpectedly. Fixes #148
2024-12-30Set the min brightness setting to 20%jacqueline
This is quite dim, but also slightly higher than the 'screensaver' brightness in #127.
2024-12-19Queue repeat modes (#126)ailurux
This replaces the previous system of a separate track and queue repeat, with a RepeatMode type with the following options and behaviours: - OFF: No repeat, queue or track. When the current queue finishes, shuffled or otherwise, playback will stop. - REPEAT_TRACK: The current track will loop indefinitely, unless next is explicitly called through some user action (ie using the next button in the now playing screen) - REPEAT_QUEUE: The entire queue will repeat indefinitely. When shuffled is enabled this will repeat the queue with new combinations each cycle. The repeat mode is persisted in non-volatile storage, so the behaviour will be consistent throughout restarts and queue replacements, and so the "queue repeat by default" use case can be met in this way. In addition, I've made it work a little nicer when the queue runs out in the now playing screen, keeping the previously played track shown and playback can be continued by using the play button or by going to a previous song in the queue. Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/126 Co-authored-by: ailurux <ailuruxx@gmail.com> Co-committed-by: ailurux <ailuruxx@gmail.com>
2024-12-19Update lua/theme_hicon.luaailurux
Remove commented out colours from theme
2024-12-18Add long-right-press as a shortcut to the now playing screenjacqueline
Implemented for both the wheel and d-pad input methods.
2024-10-08Fixed issue with saving positions, and only auto-resume long-form contentailurux