- 
  Notifications
 You must be signed in to change notification settings 
- Fork 0
Commit 32c11f1
authored
App improvements: backend & modern layout (#8)
* Remove unused files
* Ignore removed unused files
The reason for having each .binlog file ignored separately is to prevent
the Git from ignoring other binlogs files in the future by mistake if
there are any new added which are necessary.
* Fix: Component Exception when reaching <br/>
* Fix: memory leak when resizing the app window
The resizing of the window app has a memory leak caused by the
asynchronous calls still running on the unmounted components (which
applies to both Note main panel and note widget).
To fix that, the simple mounted status has been added which is checked
each time the component is about to be updated, so once the component is
unmounted the rerender will not happen.
* Display the navigation pane on the left
* Improve navigation panel layout
This improvements adds the icons of each page displayed on both
navigation panel modes (hidden and expanded).
It also changes the color of the panel.
* Make all the pages transparent on UWP layer
* Fix notes main panel
* Make the TitleBar transparent
The Title bar of the application is the most default app element that is
shown to the user, that is why, to make it more custom and to make the
application look more modern, the title bar was made transparent.
The transparency means that:
* the content of the app is extended to the full size of the whole
 window,
* the color of the title bar is set to transparent,
* the background color of the window manipulation buttons (maximize,
 minimize, close) is set to transparent
 It makes them still being visible and fully operative, but are blended
 into the app window
NOTE: The title bar has still it's default size, so to drag the window,
or double click, it's still possible to manipulate the title bar as it
would still be there.
* Add gradient to the application's page
Each page of the application has been provided with the gradient set as
a background.
This feature is implemented on the UWP side due to no decent support for
the gradient on the React Native side (especially no support for Windows).
The gradient is set as the direct child of the Background property of
the ReactRootView component of the XAML RNW element.
* Simplify the layout of the note widget
The note widget had more elements in it than it should have.
To simplify the design and to make it more user-friendly, the layout has
been reduced only to the tile of the note and it's short message.
More details will be done as the other pages responsibility.1 parent 226c21f commit 32c11f1
File tree
21 files changed
+144
-127
lines changed- src- Widgets
 
- windows/ReactNativeNotes- NativeModules/Repository
 
21 files changed
+144
-127
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
|  | |||
| 57 | 57 |  | |
| 58 | 58 |  | |
| 59 | 59 |  | |
| 60 | + | ||
| 61 | + | ||
| 62 | + | ||
| 63 | + | ||
This file was deleted.
This file was deleted.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
|  | |||
| 3 | 3 |  | |
| 4 | 4 |  | |
| 5 | 5 |  | |
| 6 | - | ||
| 7 | - | ||
| 8 | 6 |  | |
| 9 | 7 |  | |
| 10 | 8 |  | |
| 11 | 9 |  | |
| 12 | 10 |  | |
| 13 | 11 |  | |
| 14 | 12 |  | |
| 15 | - | ||
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
|  | |||
| 11 | 11 |  | |
| 12 | 12 |  | |
| 13 | 13 |  | |
| 14 | + | ||
| 14 | 15 |  | |
| 15 | 16 |  | |
| 16 | 17 |  | |
|  | |||
| 28 | 29 |  | |
| 29 | 30 |  | |
| 30 | 31 |  | |
| 32 | + | ||
| 31 | 33 |  | |
| 32 | 34 |  | |
| 33 | 35 |  | |
|  | |||
| 80 | 82 |  | |
| 81 | 83 |  | |
| 82 | 84 |  | |
| 85 | + | ||
| 83 | 86 |  | |
| 84 | - | ||
| 85 | 87 |  | |
| 88 | + | ||
| 86 | 89 |  | |
| 90 | + | ||
| 91 | + | ||
| 92 | + | ||
| 93 | + | ||
| 87 | 94 |  | |
| 88 | 95 |  | |
| 89 | 96 |  | |
|  | |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
|  | |||
| 20 | 20 |  | |
| 21 | 21 |  | |
| 22 | 22 |  | |
| 23 | - | ||
| 23 | + | ||
| 24 | 24 |  | |
| 25 | 25 |  | |
| 26 | 26 |  | |
|  | |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
|  | |||
| 3 | 3 |  | |
| 4 | 4 |  | |
| 5 | 5 |  | |
| 6 | - | ||
| 6 | + | ||
| 7 | 7 |  | |
| 8 | 8 |  | |
| 9 | 9 |  | |
|  | |||
| 20 | 20 |  | |
| 21 | 21 |  | |
| 22 | 22 |  | |
| 23 | + | ||
| 23 | 24 |  | |
| 24 | 25 |  | |
| 26 | + | ||
| 25 | 27 |  | |
| 26 | 28 |  | |
| 29 | + | ||
| 30 | + | ||
| 31 | + | ||
| 27 | 32 |  | |
| 28 | 33 |  | |
| 29 | 34 |  | |
| 30 | 35 |  | |
| 31 | 36 |  | |
| 32 | 37 |  | |
| 33 | - | ||
| 34 | 38 |  | |
| 35 | 39 |  | |
| 36 | - | ||
| 40 | + | ||
| 37 | 41 |  | |
| 38 | 42 |  | |
| 39 | 43 |  | |
| 40 | 44 |  | |
| 41 | 45 |  | |
| 42 | - | ||
| 46 | + | ||
| 43 | 47 |  | |
| 44 | 48 |  | |
| 45 | 49 |  | |
| 46 | 50 |  | |
| 47 | - | ||
| 48 | - | ||
| 49 | - | ||
| 50 | - | ||
| 51 | - | ||
| 52 | - | ||
| 53 | - | ||
| 54 | - | ||
| 55 | - | ||
| 56 | - | ||
| 57 | - | ||
| 51 | + | ||
| 52 | + | ||
| 58 | 53 |  | |
| 59 | - | ||
| 54 | + | ||
| 55 | + | ||
| 56 | + | ||
| 57 | + | ||
| 58 | + | ||
| 60 | 59 |  | |
| 61 | - | ||
| 62 | - | ||
| 60 | + | ||
| 61 | + | ||
| 63 | 62 |  | |
| 64 | 63 |  | |
| 65 | 64 |  | |
|  | |||
| 73 | 72 |  | |
| 74 | 73 |  | |
| 75 | 74 |  | |
| 76 | - | ||
| 77 | - | ||
| 75 | + | ||
| 76 | + | ||
| 78 | 77 |  | |
| 79 | - | ||
| 80 | - | ||
| 81 | - | ||
| 82 | - | ||
| 83 | - | ||
| 84 | - | ||
| 78 | + | ||
| 79 | + | ||
| 80 | + | ||
| 81 | + | ||
| 85 | 82 |  | |
| 86 | - | ||
| 83 | + | ||
| 87 | 84 |  | |
| 88 | - | ||
| 89 | - | ||
| 85 | + | ||
| 86 | + | ||
| 87 | + | ||
| 90 | 88 |  | |
| 91 | 89 |  | |
| 92 | - | ||
| 93 | - | ||
| 94 | - | ||
| 95 | - | ||
| 96 | - | ||
| 90 | + | ||
| 97 | 91 |  | |
| 98 | - | ||
| 99 | - | ||
| 100 | - | ||
| 101 | - | ||
| 102 | - | ||
| 103 | - | ||
| 92 | + | ||
| 93 | + | ||
| 94 | + | ||
| 95 | + | ||
| 96 | + | ||
| 104 | 97 |  | |
| 105 | - | ||
| 106 | - | ||
| 98 | + | ||
| 99 | + | ||
| 100 | + | ||
| 101 | + | ||
| 102 | + | ||
| 107 | 103 |  | |
| 108 | 104 |  | |
| 109 | 105 |  | |
|  | |||
0 commit comments