Skip to content

Commit

Permalink
Merge branch 'task/FP-737-final-UI' into task/FP-737-final-UI--table-…
Browse files Browse the repository at this point in the history
…ui-closer-to-design
  • Loading branch information
rstijerina authored Jun 14, 2022
2 parents 8de45f1 + 404551d commit 52dcce2
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 19 deletions.
20 changes: 14 additions & 6 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
## Overview: ##
## Overview

## Related Jira tickets: ##


## Related

* [FP-123](https://jira.tacc.utexas.edu/browse/FP-123)

## Summary of Changes: ##
## Changes



## Testing

## Testing Steps: ##
1.

## UI Photos:
## UI



## Notes

## Notes: ##
14 changes: 7 additions & 7 deletions client/package-lock.json

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

2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"@babel/preset-env": "^7.7.6",
"@babel/preset-react": "^7.7.4",
"@rollup/plugin-eslint": "^8.0.1",
"@tacc/core-styles": "^0.5.1",
"@tacc/core-styles": "^0.5.2-c",
"@testing-library/jest-dom": "^5.0.2",
"@testing-library/react": "^12.1.1",
"@types/react": "^17.0.26",
Expand Down
6 changes: 3 additions & 3 deletions client/src/components/Allocations/AllocationsCells.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React, { useState } from 'react';
import { shape, arrayOf, number, string } from 'prop-types';
import { Button, Badge } from 'reactstrap';
import { Badge } from 'reactstrap';
import { Button } from '_common';
import { useDispatch } from 'react-redux';
import { v4 as uuidv4 } from 'uuid';
import { AllocationsTeamViewModal } from './AllocationsModals';
Expand All @@ -18,15 +19,14 @@ export const Team = ({ cell: { value } }) => {
return (
<>
<Button
className="btn btn-sm"
color="secondary"
onClick={() => {
dispatch({
type: 'GET_TEAMS',
payload: { ...value },
});
setTeamModal(true);
}}
size="small"
disabled={teamModal}
>
View Team
Expand Down
3 changes: 3 additions & 0 deletions client/src/styles/objects/o-fixed-header-table.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,7 @@ Styleguide Objects.FixedHeaderTable
.o-fixed-header-table th {
position: sticky;
top: 0;

z-index: 1; /* so table content (e.g. button)¹ does not scroll over <th> */
/* ¹ table content with a `position` value other than static */
}
4 changes: 2 additions & 2 deletions server/portal/libs/agave/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ def iterate_level(client, system, path, limit=100):
while True:
page = client.files.list(systemId=system,
filePath=urllib.parse.quote(path),
offset=offset,
limit=limit)
offset=int(offset),
limit=int(limit))
yield from page
offset += limit
if len(page) != limit:
Expand Down

0 comments on commit 52dcce2

Please sign in to comment.