Commit Graph

20 Commits (03da43b0ce70bc6b442630b3306a4dcf92c69b61)

Author SHA1 Message Date
Manos Pitsidianakis 03da43b0ce
contacts/list: impl entry selection WIP 12 months ago
Manos Pitsidianakis 575509f1ed
mail/listing.rs: move mail view to listing parent component
Instead of having a different widget to view mail in for each Listing
(plain, threaded, compact, etc) use a single widget in the listing's
parent type.

This will help with making the listing logic more modular in future
refactors to allow all combinations of listing/mail view/ thread view
positions and layouts.
12 months ago
Manos Pitsidianakis 155fb41b93
components.rs: remove unused Component::set_id method 12 months ago
Manos Pitsidianakis 96537e48c5
Add {Timer,Component}Id wrapper types over Uuid 12 months ago
Manos Pitsidianakis 299c8e0f99
meli: restructure pub use melib::* imports 1 year ago
Manos Pitsidianakis f537c24909 utilities/widgets.rs: move text field to its own module 1 year ago
Manos Pitsidianakis b1a7188771
Clippy fixes 1 year ago
Manos Pitsidianakis 9cb66ef818 Fix all clippy warnings in `meli` crate 2 years ago
Manos Pitsidianakis 2eb22a290a
Stop hardcoding certain component colors
`Color::Byte` references were before themes were introduced in the code
base. Their presence is a bug and they should all be replaced by theme
values.

Closes #124

Stop hardcoding certain component colors #124
https://git.meli.delivery/meli/meli/issues/124
2 years ago
Manos Pitsidianakis 1c25ae12eb
Use default_cell in CellBuffer resize(), clear() 3 years ago
Manos Pitsidianakis 48e7a493a9
Add reload-config command
Closes #84 Add "reload configuration" command
4 years ago
Manos Pitsidianakis 7db32ff1b3
terminal/cells: return success flag in CellBuffer::resize() 4 years ago
Manos Pitsidianakis 879af75d88
utilities/dialogs: use align_area to create box 4 years ago
Manos Pitsidianakis b343530f0c
widgets: add button type parameter to FormWidget 4 years ago
Manos Pitsidianakis eb701695f7
Remove fnv crate 4 years ago
Manos Pitsidianakis c4c11e4abc
Make Selector widget accept FnOnce 4 years ago
Manos Pitsidianakis a806571322
Add UIDialog and UIConfirmationDialog widgets
They are just typedefs for the Selector widget. The API is kind of
messed up and this commit is part of the process of cleaning it up:
right now to use this, you check the is_done() method which if returns
true, the done() method executes the closure you defined when creating
the widget. The closure returns a UIEvent which you can forward
application-wide by context.replies.push_back(event) or handle it in
process_event() immediately.
4 years ago
Manos Pitsidianakis c22a141b14
ui/themes: expand theme coverage to status panel and contacts 4 years ago
Manos Pitsidianakis eb501b6d50
ui: add ThemeAttribute argument to clear_area()
clear_area() sets the cleared cell attributes according to the new
argument.
4 years ago
Manos Pitsidianakis 8b6ea8de9a
Remove ui crate
Merge ui crate with root crate.

In preparation for uploading `meli` as a separate crate on crates.io.

Workspace crates will need to be published as well and having a separate
`ui` crate and binary perhaps doesn't make sense anymore.
4 years ago