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

Isara UI fixes #1064

Merged
merged 21 commits into from
Oct 19, 2023
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
6 changes: 3 additions & 3 deletions mxcube3/core/components/queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,9 @@ def delete_entry(self, entry):
parent_entry.dequeue(entry)
model = entry.get_data_model()
HWR.beamline.queue_model.del_child(model.get_parent(), model)
logging.getLogger("MX3.HWR").info("[QUEUE] is:\n%s " % self.queue_to_json())
logging.getLogger("MX3.HWR").info(
"[DELETE QUEUE] FROM:\n%s " % model.get_parent().get_name()
)

def delete_entry_at(self, item_pos_list):
current_queue = self.queue_to_dict()
Expand Down Expand Up @@ -2241,8 +2243,6 @@ def queue_enable_item(self, qid_list, enabled):
for qid in qid_list:
self.set_enabled_entry(qid, enabled)

logging.getLogger("MX3.HWR").info("[QUEUE] is:\n%s " % self.queue_to_json())

def update_sample(self, sid, params):
sample_node = HWR.beamline.queue_model.get_node(sid)

Expand Down
4 changes: 2 additions & 2 deletions mxcube3/core/components/user/usermanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,9 @@ def login_info(self):
"user": {
"username": "",
"email": "",
"isstaff": "",
"isstaff": False,
"nickname": "",
"inControl": "",
"inControl": False,
"ip": "",
},
}
Expand Down
1 change: 0 additions & 1 deletion ui/src/actions/sampleChanger.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ export function sendCommand(cmdparts, args) {
}).then((response) => {
if (response.status >= 400) {
dispatch(showErrorPanel(true, response.headers.get('message')));
throw new Error(`Error while sending command @ ${cmdparts}`);
}
});
};
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/Equipment/GenericEquipmentControl.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default class GenericEquipmentControl extends React.Component {
);

result = (
<span>
<span key={key}>
<OverlayTrigger
trigger={['click']}
placement="right"
Expand Down
6 changes: 5 additions & 1 deletion ui/src/components/SampleGrid/SampleGridTable.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
}

.samples-grid-table-li {
min-width: 285px;
min-width: 283px;
margin: auto auto 6px 0px;
z-index: 2 !important;
list-style-type: none;
Expand All @@ -84,6 +84,10 @@
cursor: context-menu;
}

.samples-grid-table-li-manual {
margin-right: 5px;
}

.samples-grid-table-item {
list-style-type: none !important;
padding: 0px;
Expand Down
2 changes: 1 addition & 1 deletion ui/src/containers/SampleFlexView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class NewSampleFlexView extends React.Component {
// for any number of cell
const scContent = [1, 2, 3, 4, 5, 6, 7, 8];
return (
<Col sm>
<Col sm={3}>
<div className="div-svg-flex">
<svg
className="svg-flex"
Expand Down
Loading