Skip to content

Commit c8562e6

Browse files
committed
exploritory buttons removed and github button modified
1 parent f6be548 commit c8562e6

File tree

4 files changed

+17
-10
lines changed

4 files changed

+17
-10
lines changed

src/assets/style/base.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ input:focus {
3434
color: $neutral-100;
3535
display: flex;
3636
align-items: center;
37-
justify-content: space-around;
37+
justify-content: space-between;
3838
height: 2.5rem !important;
3939
opacity: 0.8;
4040
margin: 0;

src/client/components/main/TRPC-composer/TRPCMethodAndEndpointEntryForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { useSelector, useDispatch } from 'react-redux';
77
import { RootState } from '../../../toolkit-refactor/store';
88
import { fieldsReplaced } from '../../../toolkit-refactor/slices/newRequestFieldsSlice';
99

10-
const TRPCMethodAndEndpointEntryForm = (props) => {
10+
const TRPCMethodAndEndpointEntryForm = (props: any) => {
1111
const requestFields = useSelector(
1212
(state: RootState) => state.newRequestFields
1313
);

src/client/components/navbar/GeneralInfo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ export default function GeneralInfo() {
2626
data-show-count="true"
2727
aria-label="Star open-source-labs/Swell on GitHub"
2828
>
29-
Star
3029
</GitHubButton>
30+
3131
</Box>
3232
);
3333
}

src/client/components/navbar/ProtocolSelect.tsx

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const CustomButton = styled(ButtonUnstyled)`
4646
transition: all 150ms ease;
4747
cursor: pointer;
4848
border: none;
49-
width: 8vw;
49+
width: 15vw;
5050
5151
&:hover,
5252
&:active {
@@ -154,29 +154,36 @@ function ProtocolSelect() {
154154
});
155155
};
156156

157+
/*EXPERIMENTAL BUTTONS ARE COMMENTED OUT BELOW:
158+
We did this because having partially working features accessible to all seemed counter-intuitive
159+
to having a fully functional application for any user to download and use. Some experimentals
160+
are closer to fully-functional more than others and if they do get fleshed out they can be added
161+
to the other set of functional features*/
162+
157163
return (
158164
<Box
159165
key="page-selector"
160166
sx={{
161167
flexGrow: 1,
162168
display: { xs: 'none', md: 'flex' },
163-
justifyContent: 'center',
169+
justifyContent: 'space-evenly',
164170
alignItems: 'center',
165171
}}
166172
>
167173
{createButtons(pages)}
168-
<Divider sx={{ ml: 1 }} orientation="vertical" flexItem />
169-
<SwellTooltip title={experimentalTooltipText}>
170-
<ScienceRoundedIcon
174+
175+
{/* <Divider sx={{ ml: 1 }} orientation="vertical" flexItem /> */}
176+
{/* <SwellTooltip title={experimentalTooltipText}> */}
177+
{/* <ScienceRoundedIcon
171178
sx={{
172179
ml: 1.5,
173180
mr: 1,
174181
color: `${white[500]}`,
175182
'&:hover': { color: '#58a4b0' },
176183
}}
177184
/>
178-
</SwellTooltip>
179-
{createButtons(experimentalPages)}
185+
</SwellTooltip> */}
186+
{/* {createButtons(experimentalPages)} */}
180187
</Box>
181188
);
182189
}

0 commit comments

Comments
 (0)