forge
Explore
Log in

Don't you dare go Hollow

Drop the page titles over the trash and shared lists

Browse files at this commit

d64cec85d1b026366916c6a614d5ff9a2afa05a9Ahmet Kaan GümüşParent: 9e17fb4
  • fix
    • drop the page titles over the trash and shared lists
Show full message
fix(ui): drop the page titles over the trash and shared lists

The drive leads straight into its filterbar; /trash and /shared carried
an h1 over theirs, so leaving the drive shifted the whole listing a
title-height down. The topbar already names the section — the titles,
and the now-unused Trash and SharedWithMe keys, go.
.pi/remote-pi/config.jsonadded+4 -0
@@ -0,0 +1,4 @@
1+{
2+ "agent_name": "in",
3+ "auto_start_relay": true
4+}
\ No newline at end of file\ No newline at end of file
crates/in-web/src/i18n.rsmodified+0 -6
@@ -144,10 +144,8 @@ pub enum Key {
144 SharePlaceholder,144 SharePlaceholder,
145 CanDownload,145 CanDownload,
146 RemoveAccess,146 RemoveAccess,
147- SharedWithMe,
148 NoSharedItems,147 NoSharedItems,
149 // Trash.148 // Trash.
150- Trash,
151 TrashEmpty,149 TrashEmpty,
152 Restore,150 Restore,
153 DeleteForever,151 DeleteForever,
@@ -296,9 +294,7 @@ pub fn t(lang: Lang, key: Key) -> &'static str {
296 SharePlaceholder => "Name or address",294 SharePlaceholder => "Name or address",
297 CanDownload => "May download",295 CanDownload => "May download",
298 RemoveAccess => "Remove access",296 RemoveAccess => "Remove access",
299- SharedWithMe => "Shared with me",
300 NoSharedItems => "Nothing is shared with you yet.",297 NoSharedItems => "Nothing is shared with you yet.",
301- Trash => "Trash",
302 TrashEmpty => "The trash is empty.",298 TrashEmpty => "The trash is empty.",
303 Restore => "Restore",299 Restore => "Restore",
304 DeleteForever => "Delete forever",300 DeleteForever => "Delete forever",
@@ -437,9 +433,7 @@ pub fn t(lang: Lang, key: Key) -> &'static str {
437 SharePlaceholder => "Ad ya da adres",433 SharePlaceholder => "Ad ya da adres",
438 CanDownload => "İndirebilir",434 CanDownload => "İndirebilir",
439 RemoveAccess => "Erişimi kaldır",435 RemoveAccess => "Erişimi kaldır",
440- SharedWithMe => "Benimle paylaşılanlar",
441 NoSharedItems => "Seninle henüz bir şey paylaşılmadı.",436 NoSharedItems => "Seninle henüz bir şey paylaşılmadı.",
442- Trash => "Çöp",
443 TrashEmpty => "Çöp boş.",437 TrashEmpty => "Çöp boş.",
444 Restore => "Geri al",438 Restore => "Geri al",
445 DeleteForever => "Kalıcı olarak sil",439 DeleteForever => "Kalıcı olarak sil",
crates/in-web/src/share.rsmodified+0 -1
@@ -969,7 +969,6 @@ async fn shared(cx: &Cx) -> Result {
969 cx =>969 cx =>
970 (topbar(cx, NavPage::Shared, &user, language).await?)970 (topbar(cx, NavPage::Shared, &user, language).await?)
971 <main class="settings-stage stage-wide">971 <main class="settings-stage stage-wide">
972- <h1 class="settings-title">(t(language, Key::SharedWithMe))</h1>
973 <div class="filterbar">972 <div class="filterbar">
974 <form class="field-box field-box-search" method="get" action="/shared">973 <form class="field-box field-box-search" method="get" action="/shared">
975 <span class="field-text">(t(language, Key::NavSearch))</span>974 <span class="field-text">(t(language, Key::NavSearch))</span>
crates/in-web/src/trash.rsmodified+0 -1
@@ -305,7 +305,6 @@ async fn trash(cx: &Cx) -> Result {
305 cx =>305 cx =>
306 (topbar(cx, NavPage::Trash, &user, language).await?)306 (topbar(cx, NavPage::Trash, &user, language).await?)
307 <main class="settings-stage stage-wide">307 <main class="settings-stage stage-wide">
308- <h1 class="settings-title">(t(language, Key::Trash))</h1>
309 <div class="filterbar">308 <div class="filterbar">
310 <form class="field-box field-box-search" method="get" action="/trash">309 <form class="field-box field-box-search" method="get" action="/trash">
311 <span class="field-text">(t(language, Key::NavSearch))</span>310 <span class="field-text">(t(language, Key::NavSearch))</span>