feat(notes): liens internes, onglet Réseau, living blocks et consentement IA
Rend les liens entre notes visibles et persistants (sync NoteLink au save, auto-save, graphe réseau rafraîchi), ajoute living blocks, Memory Echo, recherche globale, consentement IA explicite et consolide les prototypes design en architectural-grid. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
20
memento-note/public/scripts/direction-init.js
Normal file
20
memento-note/public/scripts/direction-init.js
Normal file
@@ -0,0 +1,20 @@
|
||||
(function () {
|
||||
try {
|
||||
var lang = localStorage.getItem('user-language');
|
||||
if (!lang) {
|
||||
var c = document.cookie
|
||||
.split(';')
|
||||
.map(function (s) {
|
||||
return s.trim();
|
||||
})
|
||||
.find(function (s) {
|
||||
return s.startsWith('user-language=');
|
||||
});
|
||||
if (c) lang = c.split('=')[1];
|
||||
}
|
||||
if (lang === 'fa' || lang === 'ar') {
|
||||
document.documentElement.dir = 'rtl';
|
||||
document.documentElement.lang = lang;
|
||||
}
|
||||
} catch (e) {}
|
||||
})();
|
||||
Reference in New Issue
Block a user