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

Release 1.7.2 #203

Merged
merged 26 commits into from
Jan 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
caf5775
Add HubIcon support for device selection in config editor
Luligu Jan 8, 2025
5a5a1f9
Add selectEntity map for managing entities in MatterbridgePlatform
Luligu Jan 8, 2025
b75b8f0
Add device validation method and deprecate old validation methods
Luligu Jan 8, 2025
260066b
Add websocket API support for /api/select/entities with error handling
Luligu Jan 8, 2025
a5420c3
Frontend 2.3.4
Luligu Jan 8, 2025
1a6df8f
Add ValveConfigurationAndControl support in MatterbridgeEndpoint
Luligu Jan 8, 2025
6c365ab
Update changelog for version 1.7.2 dev 1, including new selectEntity …
Luligu Jan 8, 2025
fafbe87
Frontend 2.3.5
Luligu Jan 8, 2025
42a8d8a
Enhance WebSocket reconnection logging to indicate ingress context
Luligu Jan 9, 2025
96ce605
Refactor WebSocketProvider logging to use debug flag for listener act…
Luligu Jan 9, 2025
b4502c9
Add column configuration for Devices/Clusters table
Luligu Jan 9, 2025
b7379ca
Frontend 2.3.6
Luligu Jan 9, 2025
5ac8670
Bump version to 1.7.2-dev.2 and update changelog date
Luligu Jan 9, 2025
ffa18dd
Add filtering functionality to config editor
Luligu Jan 9, 2025
bea509a
Bump version to 1.7.2-dev.4 and update changelog
Luligu Jan 9, 2025
43dbd0f
Refactor device click handler to use row data for setting plugin, end…
Luligu Jan 9, 2025
64dc901
Add value check to Render
Luligu Jan 9, 2025
6444b47
Add filter to Devices
Luligu Jan 9, 2025
06d2d51
Bump version to 1.7.2-dev.5, update changelog, and add device name an…
Luligu Jan 9, 2025
96c57d6
Add optional entities property to selectDevice map for enhanced devic…
Luligu Jan 9, 2025
71e2a3f
Bump version to 1.7.2-dev.6
Luligu Jan 10, 2025
7ad47b1
Bump version to 1.7.2-dev.6
Luligu Jan 10, 2025
d53aba0
Bump version to 1.7.2-dev.7
Luligu Jan 10, 2025
b25b5d3
Bump version to 1.7.2-dev.8
Luligu Jan 10, 2025
28011fc
Frontend 2.3.10
Luligu Jan 11, 2025
8015e02
Release 1.7.2
Luligu Jan 11, 2025
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
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,33 @@ Matterbridge edge is now released. The default mode is still the normal mode to
The frontend has a new dark and light mode. The dark mode is now the default mode.
It is possible to change the mode (Classic, Dark or Light) in Settings, Matterbridge settings.

## [1.7.2] - 2025-01-11

### Added

- [platform]: Added selectEntity to get the entity names from a list in the config editor.
- [websocket]: Added api /api/select/entities.
- [frontend]: Added the possibility to reorder the items in the config editor lists.
- [frontend]: Added custom error messages for ErrorListTemplate and FieldErrorTemplate in react-jsonschema-form for validation in the config editor.
- [frontend]: Added filter by device name and serial number to Devices page.
- [frontend]: Added Icon view to the Devices page (beta).
- [frontend]: Added the possibility to select the entities/components from a list in the config editor.
- [matterbridge]: Added /health endpoint for watchdog.

### Changed

- [frontend]: Frontend v.2.3.10
- [package]: Update dependencies.

### Fixed

- [edge]: Fixed ValveConfigurationAndControlServer behavior.
- [frontend]: Fixed restart that was not working correctly in Ingress.

<a href="https://www.buymeacoffee.com/luligugithub">
<img src="./yellow-button.png" alt="Buy me a coffee" width="120">
</a>

## [1.7.1] - 2025-01-07

### Added
Expand Down
12 changes: 6 additions & 6 deletions frontend/build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"files": {
"main.css": "./static/css/main.b1a621ee.css",
"main.js": "./static/js/main.ecd94d17.js",
"main.css": "./static/css/main.cf25d33e.css",
"main.js": "./static/js/main.08241820.js",
"static/js/453.abd36b29.chunk.js": "./static/js/453.abd36b29.chunk.js",
"static/media/roboto-latin-700-normal.woff2": "./static/media/roboto-latin-700-normal.4535474e1cf8598695ad.woff2",
"static/media/roboto-latin-500-normal.woff2": "./static/media/roboto-latin-500-normal.7077203b1982951ecf76.woff2",
Expand Down Expand Up @@ -60,12 +60,12 @@
"static/media/roboto-greek-ext-300-normal.woff": "./static/media/roboto-greek-ext-300-normal.b590dbe5c639944366d1.woff",
"static/media/roboto-greek-ext-400-normal.woff": "./static/media/roboto-greek-ext-400-normal.16eb83b4a3b1ea994243.woff",
"index.html": "./index.html",
"main.b1a621ee.css.map": "./static/css/main.b1a621ee.css.map",
"main.ecd94d17.js.map": "./static/js/main.ecd94d17.js.map",
"main.cf25d33e.css.map": "./static/css/main.cf25d33e.css.map",
"main.08241820.js.map": "./static/js/main.08241820.js.map",
"453.abd36b29.chunk.js.map": "./static/js/453.abd36b29.chunk.js.map"
},
"entrypoints": [
"static/css/main.b1a621ee.css",
"static/js/main.ecd94d17.js"
"static/css/main.cf25d33e.css",
"static/js/main.08241820.js"
]
}
2 changes: 1 addition & 1 deletion frontend/build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><base href="./"><link rel="icon" href="./matterbridge 32x32.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><title>Matterbridge</title><link rel="manifest" href="./manifest.json"/><script defer="defer" src="./static/js/main.ecd94d17.js"></script><link href="./static/css/main.b1a621ee.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><base href="./"><link rel="icon" href="./matterbridge 32x32.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><title>Matterbridge</title><link rel="manifest" href="./manifest.json"/><script defer="defer" src="./static/js/main.08241820.js"></script><link href="./static/css/main.cf25d33e.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
1 change: 0 additions & 1 deletion frontend/build/static/css/main.b1a621ee.css.map

This file was deleted.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions frontend/build/static/css/main.cf25d33e.css.map

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions frontend/build/static/js/main.08241820.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion frontend/build/static/js/main.ecd94d17.js.map

This file was deleted.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "frontend",
"version": "2.3.3",
"version": "2.3.10",
"private": true,
"homepage": "./",
"scripts": {
Expand Down
5 changes: 3 additions & 2 deletions frontend/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
--main-label-color: var(--main-grey-color);

--primary-color: #009a00;
--secondary-color: #a58827;
--secondary-color: #316dc7;

--header-bg-color: var(--primary-color);
--header-text-color: white;
Expand Down Expand Up @@ -174,6 +174,7 @@ html {
.tooltip-container {
position: relative;
display: inline-block;
z-index: 10;
}

.tooltip-text {
Expand Down Expand Up @@ -345,6 +346,7 @@ thead th {
color: var(--header-text-color);
background: var(--header-bg-color);
text-align: left;
z-index: 10;
}

tbody td {
Expand Down Expand Up @@ -455,7 +457,6 @@ h3 {
display: 'flex';
align-items: center;
justify-content: center;
height: 40px;
color: var(--footer-text-color);
background-color: var(--footer-bg-color);
margin: 0px;
Expand Down
15 changes: 9 additions & 6 deletions frontend/src/components/ConfirmCancelForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,26 @@ import DialogTitle from '@mui/material/DialogTitle';
import DialogContent from '@mui/material/DialogContent';
import Button from '@mui/material/Button';

// Frontend
import { debug } from '../App';

// Create a component for confirming or canceling an action
export function ConfirmCancelForm({ open, title, message, onConfirm, onCancel }) {

const handleConfirm = event => {
// console.log('Confirmed');
if(debug) console.log('Confirmed');
event.preventDefault();
onConfirm();
};

const handleCancel = event => {
// console.log('Canceled');
if(debug) console.log('Canceled');
event.preventDefault();
onCancel();
};

return (
<Dialog open={open} PaperProps={{style: { border: "2px solid #ddd", backgroundColor: '#c4c2c2', boxShadow: '5px 5px 10px #888'}}}>
<Dialog open={open}>
<DialogTitle gap={'20px'}>
<div style={{ display: 'flex', flexDirection: 'row', alignItems: 'center', gap: '20px' }}>
<img src="matterbridge 32x32.png" alt="Matterbridge Logo" style={{ height: '32px', width: '32px' }} />
Expand All @@ -29,11 +32,11 @@ export function ConfirmCancelForm({ open, title, message, onConfirm, onCancel })
</DialogTitle>
<DialogContent>
<div style={{ display: 'flex', flexDirection: 'row', alignItems: 'center', justifyContent: 'center', margin: '0', marginBottom: '20px', maxHeight: '350px', maxWidth: '350px' }}>
<p style={{ flex: 1, color: 'black', margin: '0' }}>{message}</p>
<p style={{ flex: 1, margin: '0' }}>{message}</p>
</div>
<div style={{ display: 'flex', flexDirection: 'row', alignItems: 'center', justifyContent: 'space-around'}}>
<Button onClick={handleConfirm} variant="contained" color="primary" size="small" style={{ color: '#ffffff' }}>Confirm</Button>
<Button onClick={handleCancel} variant="contained" color="primary" size="small" style={{ color: '#ffffff' }}>Cancel</Button>
<Button onClick={handleConfirm} variant="contained" color="primary" size="small" >Confirm</Button>
<Button onClick={handleCancel} variant="contained" color="primary" size="small" >Cancel</Button>
</div>
</DialogContent>
</Dialog>
Expand Down
Loading
Loading