No description
Find a file
Jeremy Soller 48eef3906d
improv: use sort-icons instead of unicode arrow glyphs (#1846)
This replaces the up/down arrow glyphs in the context menu for sort
direction with actual sort icons.
This way the icon is not dependent on the user's system font. For
example "Adwaita Sans" contains the up arrow but not the down arrow,
which means the arrow changes shape (depending on the chosen fallback
font) when you switch direction.

<img width="508" height="498" alt="Screenshot_2026-06-09_14-29-58"
src="https://github.com/user-attachments/assets/265eada7-d7c2-4f76-b63d-38c1879e6e85"
/>
<img width="515" height="453" alt="Screenshot_2026-06-09_14-30-09"
src="https://github.com/user-attachments/assets/d2634e96-5245-422a-b236-c49d7c65e79c"
/>

I took the liberty to move the icon from the end of the word to the left
side and also preserve an empty space when it's not drawn. It may need
UX approval.

Relevant mattermost thread:
https://chat.pop-os.org/pop-os/pl/i3nphjm85fbpdfmnd9pt9abs6y

Fixes https://github.com/pop-os/cosmic-files/issues/1844

___
- [x] I have disclosed use of any AI generated code in my commit
messages.
- If you are using an LLM, and do not fully understand the changes it is
making to the code base, do not create a PR.
- In our experience, AI generated code often results in overly complex
code that lacks enough context for a proper fix or feature inclusion.
This results in considerably longer code reviews. Due to this, AI
authored or partially authored PRs may be closed without comment.
- [x] I understand these changes in full and will be able to respond to
review comments.
- [x] My change is accurately described in the commit message.
- [x] My contribution is tested and working as described.
- [x] I have read the [Developer Certificate of
Origin](https://developercertificate.org/) and certify my contribution
under its conditions.
2026-06-10 16:56:30 -06:00
.github Add pull request template 2026-02-13 12:35:27 -07:00
.zed chore: add rustfmt config 2026-04-29 00:53:57 +02:00
cosmic-files-applet Epoch 1.0.16 version update 2026-06-09 11:14:26 -06:00
debian Epoch 1.0.16 version update 2026-06-09 11:14:26 -06:00
examples chore: add rustfmt config 2026-04-29 00:53:57 +02:00
i18n i18n: translation updates from weblate 2026-05-25 21:11:35 +02:00
res Generate translated desktop and metainfo files with xdgen 2026-02-12 14:46:38 -07:00
samples Add mode samples 2025-02-12 10:44:53 -07:00
scripts Remove fs_extra (#655) 2024-11-13 14:36:11 -07:00
src improv: use sort-icons instead of unicode arrow glyphs (#1846) 2026-06-10 16:56:30 -06:00
.gitignore Add just flamegraph target 2024-11-14 09:28:28 -07:00
build.rs chore: add rustfmt config 2026-04-29 00:53:57 +02:00
Cargo.lock Epoch 1.0.16 version update 2026-06-09 11:14:26 -06:00
Cargo.toml Epoch 1.0.16 version update 2026-06-09 11:14:26 -06:00
i18n.toml Basic implementation 2024-01-03 15:27:32 -07:00
justfile build: use cargo vendor --locked 2026-06-02 09:52:14 -04:00
LICENSE Initial commit 2024-01-03 13:34:32 -07:00
README.md Remove WIP note from readme 2026-01-13 10:07:50 -07:00
rust-toolchain.toml chore: add rust-toolchain to enforce 1.93 2026-05-01 19:10:23 +02:00
rustfmt.toml chore: add rustfmt config 2026-04-29 00:53:57 +02:00
TESTING.md docs (QA): Add file drag-and-drop to regression testing checklist 2025-12-19 13:36:31 -07:00

cosmic-files

File manager for the COSMIC desktop environment

Build the project from source

# Clone the project using `git`
git clone https://github.com/pop-os/cosmic-files
# Change to the directory that was created by `git`
cd cosmic-files
# Build an optimized version using `cargo`, this may take a while
cargo build --release
# Run the optimized version using `cargo`
cargo run --release

Community and Contributing

The COSMIC desktop environment is maintained by System76 for use in Pop!_OS. A list of all COSMIC projects can be found in the cosmic-epoch project's README. If you would like to discuss COSMIC and Pop!_OS, please consider joining the Pop!_OS Chat. More information and links can be found on the Pop!_OS Website.

License

This project is licensed under GPLv3