mirror of
https://github.com/mue/mue.git
synced 2026-07-27 10:41:08 +02:00
chore: release 6.0.5
This commit is contained in:
2
.github/workflows/submit.yml
vendored
2
.github/workflows/submit.yml
vendored
@@ -4,7 +4,7 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
tag:
|
tag:
|
||||||
description: "Release tag to submit, i.e 6.0.4"
|
description: "Release tag to submit, i.e 6.0.5"
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"default_locale": "en",
|
"default_locale": "en",
|
||||||
"name": "__MSG_name__",
|
"name": "__MSG_name__",
|
||||||
"description": "__MSG_description__",
|
"description": "__MSG_description__",
|
||||||
"version": "6.0.4",
|
"version": "6.0.5",
|
||||||
"homepage_url": "https://muetab.com",
|
"homepage_url": "https://muetab.com",
|
||||||
"browser_action": {
|
"browser_action": {
|
||||||
"default_icon": "icons/128x128.png"
|
"default_icon": "icons/128x128.png"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "Mue",
|
"name": "Mue",
|
||||||
"description": "Fast, open and free-to-use new tab page for modern browsers.",
|
"description": "Fast, open and free-to-use new tab page for modern browsers.",
|
||||||
"version": "6.0.4",
|
"version": "6.0.5",
|
||||||
"homepage_url": "https://muetab.com",
|
"homepage_url": "https://muetab.com",
|
||||||
"browser_action": {
|
"browser_action": {
|
||||||
"default_icon": "icons/128x128.png"
|
"default_icon": "icons/128x128.png"
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
"homepage": "https://muetab.com",
|
"homepage": "https://muetab.com",
|
||||||
"bugs": "https://github.com/mue/mue/issues/new?assignees=&labels=bug&template=bug-report.md&title=%5BBUG%5D",
|
"bugs": "https://github.com/mue/mue/issues/new?assignees=&labels=bug&template=bug-report.md&title=%5BBUG%5D",
|
||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
"version": "6.0.4",
|
"version": "6.0.5",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eartharoid/i18n": "1.0.2",
|
"@eartharoid/i18n": "1.0.2",
|
||||||
"@emotion/react": "^11.9.0",
|
"@emotion/react": "^11.9.0",
|
||||||
|
|||||||
@@ -9,8 +9,6 @@ import Preview from '../helpers/preview/Preview';
|
|||||||
|
|
||||||
import EventBus from 'modules/helpers/eventbus';
|
import EventBus from 'modules/helpers/eventbus';
|
||||||
|
|
||||||
// Welcome modal is lazy loaded as the user won't use it every time they open a tab
|
|
||||||
// We used to lazy load the main and feedback modals, but doing so broke the modal open animation on first click
|
|
||||||
import Welcome from './welcome/Welcome';
|
import Welcome from './welcome/Welcome';
|
||||||
|
|
||||||
export default class Modals extends PureComponent {
|
export default class Modals extends PureComponent {
|
||||||
@@ -20,13 +18,12 @@ export default class Modals extends PureComponent {
|
|||||||
mainModal: false,
|
mainModal: false,
|
||||||
updateModal: false,
|
updateModal: false,
|
||||||
welcomeModal: false,
|
welcomeModal: false,
|
||||||
feedbackModal: false,
|
|
||||||
preview: false
|
preview: false
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
if (localStorage.getItem('showWelcome') === 'true' && window.location.search !== '?nointro=true' && this.state.welcomeModal === false) {
|
if (localStorage.getItem('showWelcome') === 'true' && window.location.search !== '?nointro=true') {
|
||||||
this.setState({
|
this.setState({
|
||||||
welcomeModal: true
|
welcomeModal: true
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -43,10 +43,10 @@ export default class DateSettings extends PureComponent {
|
|||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
||||||
switch (this.state.dateType) {
|
if (this.state.dateType === 'long') {
|
||||||
case 'short': dateSettings = shortSettings; break;
|
dateSettings = longSettings;
|
||||||
case 'long': dateSettings = longSettings; break;
|
} else {
|
||||||
default: break;
|
dateSettings = shortSettings;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ export default class TimeSettings extends PureComponent {
|
|||||||
render() {
|
render() {
|
||||||
const getMessage = (text) => variables.language.getMessage(variables.languagecode, text);
|
const getMessage = (text) => variables.language.getMessage(variables.languagecode, text);
|
||||||
|
|
||||||
let timeSettings;
|
let timeSettings = null;
|
||||||
|
|
||||||
const digitalOptions = [
|
const digitalOptions = [
|
||||||
{
|
{
|
||||||
@@ -50,10 +50,10 @@ export default class TimeSettings extends PureComponent {
|
|||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
||||||
switch (this.state.timeType) {
|
if (this.state.timeType === 'digital') {
|
||||||
case 'digital': timeSettings = digitalSettings; break;
|
timeSettings = digitalSettings;
|
||||||
case 'analogue': timeSettings = analogSettings; break;
|
} else if (this.state.timeType === 'analogue') {
|
||||||
default: timeSettings = null; break;
|
timeSettings = analogSettings;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
10
src/index.js
10
src/index.js
@@ -1,4 +1,4 @@
|
|||||||
import { createRoot } from 'react-dom/client';
|
import { render } from 'react-dom';
|
||||||
|
|
||||||
import App from './App';
|
import App from './App';
|
||||||
import variables from 'modules/variables';
|
import variables from 'modules/variables';
|
||||||
@@ -47,7 +47,7 @@ if (localStorage.getItem('stats') === 'true') {
|
|||||||
variables.keybinds = JSON.parse(localStorage.getItem('keybinds') || '{}');
|
variables.keybinds = JSON.parse(localStorage.getItem('keybinds') || '{}');
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
const container = document.getElementById('root');
|
render(
|
||||||
const root = createRoot(container);
|
<App/>,
|
||||||
|
document.getElementById('root')
|
||||||
root.render(<App/>);
|
);
|
||||||
|
|||||||
@@ -30,4 +30,4 @@ export const PATREON_USERNAME = 'davidcralph';
|
|||||||
|
|
||||||
export const OFFLINE_IMAGES = 20;
|
export const OFFLINE_IMAGES = 20;
|
||||||
|
|
||||||
export const VERSION = '6.0.4';
|
export const VERSION = '6.0.5';
|
||||||
|
|||||||
Reference in New Issue
Block a user