Skip to content

Commit

Permalink
Chemotion Repository 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
phuang26 committed Nov 6, 2024
1 parent be71086 commit ed3cf05
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 28 deletions.
22 changes: 0 additions & 22 deletions README-DEV.md

This file was deleted.

2 changes: 1 addition & 1 deletion app/api/api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def authenticate!
def is_public_request?
request.path.start_with?(
'/api/v1/public/',
'/api/v1/labimotion_hub/', ### TODO: Paggy
'/api/v1/labimotion_hub/',
'/api/v1/public_chemscanner/',
'/api/v1/chemspectra/',
'/api/v1/ketcher/layout',
Expand Down
6 changes: 6 additions & 0 deletions app/assets/stylesheets/attachment-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@
visibility: visible;
transition-delay: 0s;
}
.attachment-row-image:hover {
transform: scale(6) translateX(20px);
z-index: 1000;
transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


.attachment-row-text {
flex: 0.7;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ import UserStore from 'src/stores/alt/stores/UserStore';
import MatrixCheck from 'src/components/common/MatrixCheck';
import { commentActivation } from 'src/utilities/CommentHelper';

// For REPO
import UserStore from 'src/stores/alt/stores/UserStore';
import MatrixCheck from 'src/components/common/MatrixCheck';
import { commentActivation } from 'src/utilities/CommentHelper';

export default class ResearchPlanDetails extends Component {
constructor(props) {
super(props);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ import { formatTimeStampsOfElement } from 'src/utilities/timezoneHelper';
import { commentActivation } from 'src/utilities/CommentHelper';

// For REPO
import { commentActivation } from 'src/utilities/CommentHelper';
import RepositoryActions from 'src/stores/alt/repo/actions/RepositoryActions';
import PublishSampleModal from 'src/components/chemrepo/PublishSampleModal';
import MolViewerBtn from 'src/components/viewer/MolViewerBtn';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -391,9 +391,6 @@ const headerBtnGroup = (
toggleNMRDisplayerModal={toggleNMRDisplayerModal}
hasNMRium={hasNMRium}
isReviewer={isReviewer}
confirmRegenerateEdited={confirmRegenerateEdited}
toggleNMRDisplayerModal={toggleNMRDisplayerModal}
hasNMRium={hasNMRium}
/>
<span className="button-right">
<MolViewerListBtn el={sample} container={container} isPublic={false} disabled={!enableMoleculeViewer} />
Expand Down
1 change: 0 additions & 1 deletion app/packs/src/stores/alt/repo/stores/PublicStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ class PublicStore {
const listType = reactionList.reactionData.publication.taggable_data.scheme_only ?
RepoNavListTypes.SCHEME : RepoNavListTypes.REACTION;
let cb = () => PublicActions.getReactions();

if (this.reactions.length > 0) {
cb = () => {};
this.setState({ reactions: this.reactions });
Expand Down
2 changes: 1 addition & 1 deletion lib/reporter/docx/detail_sample.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def literatures
end
output
end

def init_item
item = []
need_rxn_desc = @spl_settings[:reaction_description]
Expand Down

0 comments on commit ed3cf05

Please sign in to comment.