Skip to content
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

Fix UI repository settings label width #4300

Merged
merged 4 commits into from
Oct 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion webui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion webui/src/lib/api/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import queryString from "query-string"

export const API_ENDPOINT = '/api/v1';
export const DEFAULT_LISTING_AMOUNT = 100;

export const SETUP_STATE_INITIALIZED = "initialized"
export const SETUP_STATE_NOT_INITIALIZED = "not_initialized"
import queryString from "query-string"

class LocalCache {
get(key) {
Expand Down
1 change: 0 additions & 1 deletion webui/src/lib/api/validation.js

This file was deleted.

6 changes: 3 additions & 3 deletions webui/src/pages/repositories/repository/settings/general.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,23 +72,23 @@ const SettingsContainer = () => {

<Container>
<Row>
<Form.Label column md={{span:2}} className="mb-3">
<Form.Label column md={{span:3}} className="mb-3">
Repository name
</Form.Label>
<Col md={{span:4}}>
<Form.Control readOnly value={repo.id} type="text"/>
</Col>
</Row>
<Row>
<Form.Label column md={{span:2}} className="mb-3">
<Form.Label column md={{span:3}} className="mb-3">
Storage namespace
</Form.Label>
<Col md={{span:4}}>
<Form.Control readOnly value={repo.storage_namespace} type="text"/>
</Col>
</Row>
<Row>
<Form.Label column md={{span:2}} className="mb-3">
<Form.Label column md={{span:3}} className="mb-3">
Default branch
</Form.Label>
<Col md={{span:4}}>
Expand Down