-
-
Notifications
You must be signed in to change notification settings - Fork 608
Use filetreelist crate #1508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Use filetreelist crate #1508
Conversation
97326a8
to
ecece27
Compare
|
ecece27
to
b0bf81c
Compare
I think for being able to write unittests I would need to extract a lot of traits for components. |
All good the tree component itself is pretty well tested |
No longer safe Status inside of FileTreeItem. For Status storage, now introduced a new Item, which contains Status alongside FileTreeItem. Note that FileTreeItemKind is no longer publicy available - thus we cannot store this enum anywhere anymore.
b0bf81c
to
6d3faa2
Compare
name: String, | ||
indent: u8, | ||
visible: bool, | ||
item_kind: &'a FileTreeItemKind, | ||
status_item: Option<StatusItem>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks like it will require a lot of allocations where only references where needed before
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will have a look.
While reviewing noticed that it still has its own |
putting in draft till the next round of reviews |
The reason is that
How do you want handle that? |
This issue has been automatically marked as stale because it has not had any activity half a year. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
No longer safe Status inside of
FileTreeItem
.For Status storage, now introduced a new
Item
, which contains Status alongsideFileTreeItem
.Note that
FileTreeItemKind
is no longer publicy available - thus we cannot store this enum anywhere anymore.I followed the checklist:
make check
without errors