Skip to content

Commit 4222bb8

Browse files
[UI] Groups offers by backend
Minor cosmetics
1 parent 614e9ca commit 4222bb8

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

frontend/src/locale/en.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@
364364
"quickstart_message_text": "Check out the quickstart guide to get started with dstack",
365365
"nomatch_message_title": "No matches",
366366
"nomatch_message_text": "We can't find a match. Try to change project or clear filter",
367-
"filter_property_placeholder": "Filter runs by properties",
367+
"filter_property_placeholder": "Filter by properties",
368368
"project": "Project",
369369
"project_placeholder": "Filtering by project",
370370
"repo": "Repository",
@@ -449,11 +449,11 @@
449449
},
450450
"offer": {
451451
"title": "Offers",
452-
"filter_property_placeholder": "Filter offers by properties",
452+
"filter_property_placeholder": "Filter by properties",
453453
"backend": "Backend",
454454
"backend_plural": "Backends",
455455
"availability": "Availability",
456-
"groupBy": "Group by",
456+
"groupBy": "Group by properties",
457457
"region": "Region",
458458
"count": "Count",
459459
"price": "$/GPU",
@@ -511,7 +511,7 @@
511511
"nomatch_message_text": "We can't find a match.",
512512
"nomatch_message_button_label": "Clear filter",
513513
"active_only": "Active fleets",
514-
"filter_property_placeholder": "Filter fleets by properties",
514+
"filter_property_placeholder": "Filter by properties",
515515
"statuses": {
516516
"active": "Active",
517517
"submitted": "Submitted",
@@ -521,7 +521,7 @@
521521
},
522522
"instances": {
523523
"active_only": "Active instances",
524-
"filter_property_placeholder": "Filter instances by properties",
524+
"filter_property_placeholder": "Filter by properties",
525525
"title": "Instances",
526526
"empty_message_title": "No instances",
527527
"empty_message_text": "No instances to display.",
@@ -559,7 +559,7 @@
559559
"delete_volumes_confirm_title": "Delete volumes",
560560
"delete_volumes_confirm_message": "Are you sure you want to delete these volumes?",
561561
"active_only": "Active volumes",
562-
"filter_property_placeholder": "Filter volumes by properties",
562+
"filter_property_placeholder": "Filter by properties",
563563

564564
"name": "Name",
565565
"project": "Project name",

frontend/src/pages/Offers/List/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ export const OfferList = () => {
220220

221221
<div className={styles.filterField}>
222222
<MultiselectCSD
223-
inlineLabelText={t('offer.groupBy')}
223+
placeholder={t('offer.groupBy')}
224224
onChange={onChangeGroupBy}
225225
options={groupByOptions}
226226
selectedOptions={groupBy}

frontend/src/pages/Offers/List/styles.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212

1313
.propertyFilter {
14-
padding-top: 10px;
14+
// padding-top: 10px;
1515
max-width: 640px;
1616
flex-grow: 1;
1717
min-width: 0;

0 commit comments

Comments
 (0)