mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-03 19:35:28 +00:00
Truncate Storage Status fields in Upload Modal
Truncate Provider, Bucket, and URL Style fields to prevent layout overflow. Add `title` attribute for native tooltips on hover. Add `tabindex="0"` for keyboard accessibility.
This commit is contained in:
1 parent
7f436c7b2d
commit
e1324c1bfc
3 files changed
+18
-3237
No files matched your search
@@ -760,9 +760,18 @@ export class UploadModal {
|
||||
const bucketName = targetConn.meta?.bucket || "Unknown Bucket";
|
||||
const urlStyle = this.describeUrlStyle(targetConn.provider, targetConn.meta?.forcePathStyle);
|
||||
|
||||
if (this.statusText.summaryProvider) this.statusText.summaryProvider.textContent = providerName;
|
||||
if (this.statusText.summaryBucket) this.statusText.summaryBucket.textContent = bucketName;
|
||||
if (this.statusText.summaryUrlStyle) this.statusText.summaryUrlStyle.textContent = urlStyle;
|
||||
if (this.statusText.summaryProvider) {
|
||||
this.statusText.summaryProvider.textContent = providerName;
|
||||
this.statusText.summaryProvider.title = providerName;
|
||||
}
|
||||
if (this.statusText.summaryBucket) {
|
||||
this.statusText.summaryBucket.textContent = bucketName;
|
||||
this.statusText.summaryBucket.title = bucketName;
|
||||
}
|
||||
if (this.statusText.summaryUrlStyle) {
|
||||
this.statusText.summaryUrlStyle.textContent = urlStyle;
|
||||
this.statusText.summaryUrlStyle.title = urlStyle;
|
||||
}
|
||||
if (this.statusText.summaryCopy) this.statusText.summaryCopy.textContent = this.getSummaryCopy(targetConn.provider);
|
||||
|
||||
if (this.isStorageUnlocked) {
|
||||
|
||||
Reference in new issue
Block a user