Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: cleaning up

Ilian Sapundshiev2e6283e5d872
diff --git a/app/assets/images/navigation-v3.png b/app/assets/images/navigation-v3.png
deleted file mode 100644
index 6a494470a..000000000
Binary files a/app/assets/images/navigation-v3.png and /dev/null differ
diff --git a/app/components/LocationManager.tsx b/app/components/LocationManager.tsx
index e2236c97e..24d888770 100644
--- a/app/components/LocationManager.tsx
+++ b/app/components/LocationManager.tsx
@@ -166,6 +166,7 @@ function LocationManager(props: Props) {
data-tid="locationList"
style={{
height: 'calc(100% - ' + reduceHeightBy + 'px)',
+ borderRadius: 5,
// @ts-ignore
overflowY: AppConfig.isFirefox ? 'auto' : 'overlay'
}}
diff --git a/app/components/MobileNavigation.tsx b/app/components/MobileNavigation.tsx
index 9c96b0a69..5c08d22e5 100644
--- a/app/components/MobileNavigation.tsx
+++ b/app/components/MobileNavigation.tsx
@@ -56,8 +56,7 @@ import {
import LoadingLazy from '-/components/LoadingLazy';
import {
actions as SettingsActions,
- getCurrentLanguage,
- isFirstRun
+ getCurrentLanguage
} from '-/reducers/settings';
import Links from '-/links';
import StoredSearches from '-/components/StoredSearches';
@@ -84,8 +83,6 @@ function ProTeaserDialogAsync(props) {
interface Props {
classes: any;
- isFirstRun: boolean;
- setFirstRun: (isFirstRun: boolean) => void;
toggleOnboardingDialog: () => void;
toggleCreateFileDialog: () => void;
toggleAboutDialog: () => void;
@@ -280,7 +277,7 @@ function MobileNavigation(props: Props) {
</Tooltip>
<Tooltip title={i18n.t('core:quickAccess')}>
<ToggleButton
- data-tid="search"
+ data-tid="quickAccessButton"
onClick={openSearchPanel}
className={
props.isSearchPanelOpened
@@ -364,7 +361,6 @@ function MobileNavigation(props: Props) {
function mapStateToProps(state) {
return {
- isFirstRun: isFirstRun(state),
isSettingsDialogOpened: isSettingsDialogOpened(state),
isLocationManagerPanelOpened: isLocationManagerPanelOpened(state),
isTagLibraryPanelOpened: isTagLibraryPanelOpened(state),
@@ -393,8 +389,7 @@ function mapActionCreatorsToProps(dispatch) {
openURLExternally: AppActions.openURLExternally,
showNotification: AppActions.showNotification,
// closeAllVerticalPanels: AppActions.closeAllVerticalPanels,
- switchTheme: SettingsActions.switchTheme,
- setFirstRun: SettingsActions.setFirstRun
+ switchTheme: SettingsActions.switchTheme
},
dispatch
);
diff --git a/app/components/TagLibrary.tsx b/app/components/TagLibrary.tsx
index 77ac26123..6269679ce 100644
--- a/app/components/TagLibrary.tsx
+++ b/app/components/TagLibrary.tsx
@@ -455,6 +455,7 @@ function TagLibrary(props: Props) {
style={{
paddingTop: 0,
marginTop: 0,
+ borderRadius: 5,
height: 'calc(100% - ' + reduceHeightBy + 'px)',
// @ts-ignore
overflowY: AppConfig.isFirefox ? 'auto' : 'overlay'
diff --git a/app/components/dialogs/OnboardingDialog.tsx b/app/components/dialogs/OnboardingDialog.tsx
index 9ae9c3a1b..9a43a3f9b 100644
--- a/app/components/dialogs/OnboardingDialog.tsx
+++ b/app/components/dialogs/OnboardingDialog.tsx
@@ -34,7 +34,6 @@ import ToggleButtonGroup from '@mui/material/ToggleButtonGroup';
import MobileStepper from '@mui/material/MobileStepper';
import Dialog from '@mui/material/Dialog';
import AppConfig from '@tagspaces/tagspaces-platforms/AppConfig';
-import NavigationV3 from '-/assets/images/navigation-v3.png';
import BrowserExtension from '-/assets/images/collectcontent.svg';
import WizardFinished from '-/assets/images/computer-desk.svg';
import ChooseTagging from '-/assets/images/abacus.svg';
@@ -139,18 +138,6 @@ function OnboardingDialog(props: Props) {
<ToggleButton value="dark">Dark</ToggleButton>
</ToggleButtonGroup>
</div>
- {/* <div
- style={{
- textAlign: 'center'
- }}
- >
- <Typography variant="h5">Navigation in the app</Typography>
- <img
- style={{ marginTop: 15, maxHeight: 500 }}
- src={NavigationV3}
- alt=""
- />
- </div> */}
<div
style={{
textAlign: 'center'