mirror of
https://github.com/mum4k/termdash.git
synced 2026-04-27 03:15:55 +03:00
[GH-ISSUE #105] Widget: Select / datalist #68
Labels
No labels
bug
cleanup
enhancement
enhancement
enhancement
good first issue
help wanted
help wanted
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/termdash#68
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?
Originally created by @mum4k on GitHub (Feb 10, 2019).
Original GitHub issue: https://github.com/mum4k/termdash/issues/105
Originally assigned to: @mum4k on GitHub.
Widget providing functionality similar to HTML5's datalist element:
https://www.w3schools.com/html/tryit.asp?filename=tryhtml_elem_datalist
This could be built as a combination of a text input field that will show the currently selected option and also allow for a text search through the options.
The options themselves should probably be a table widget inside a popup window.
@mum4k commented on GitHub (May 3, 2019):
Hey @slok and @keithknott26,
I have spent some time thinking about this and I don't think we have all the bits in place to implement this yet. Specifically the drop-down portion (the menu) wouldn't really work within a widget's canvas without reserving the vertical space for it. And that would not look good on terminal applications, it would just waste the space.
Looks like this widget would really benefit from the pop-up windows (#104), where the the menu would appear in a new small window. Secondly display of the selection options is really just a Table (#5).
So our plan of action could be as follows:
I really like the idea of focusing on (2) soon-ish as this will likely come with some breaking API changes and should be done before we land Termdash 1.0.0.
Please let me know what you think. Would love to hear if you have better ideas or if you think I should focus on other features first as the above is a substantial time commitment.