Skip to content
Permalink
Browse files

Add shadows to tabs and overall UI (#203)

1. Add shadows to tabs and overall UI
2. Use Windows 10 1903 SDK (10.0.18362.0) as target
  • Loading branch information...
JasonStein committed Sep 26, 2019
1 parent 9601b31 commit 1776cebdeaa7d6a3822aa484e075a006b27c2ce4
@@ -18,14 +18,14 @@ You can contribute to Notepads project by:
4. Finish your work and create a PR (Example: https://github.com/JasonStein/Notepads/pull/30)
5. Let me know and I will merge it if it looks good to me.

# How to Build and Run Notepads.sln:
* Make sure your machine is running on Windows 10 1809+.
* Make sure you have Visual Studio 2019 16.1+ installed.
# How to Build and Run Notepads from source:
* Make sure your machine is running on Windows 10 1903+.
* Make sure you have Visual Studio 2019 16.2+ installed.
* Make sure you have "Universal Windows Platform development" component installed for Visual Studio.
* Make sure you installed "Windows 10 SDK (10.0.18362.0)" as well.
* Open Notepads.sln with Visual Studio and set Solution Platform to x64(amd64).
* Right click on the solution and click on "Restore NuGet Packages".
* Make sure you installed "Windows 10 SDK (10.0.17763.0 + 10.0.18362.0)" as well.
* Open src/Notepads.sln with Visual Studio and set Solution Platform to x64(amd64).
* Once opened, right click on the solution and click on "Restore NuGet Packages".
* Now you should be able to build and run Notepads on your machine. If it fails, try close the solution and reopen it again.

# Additional Info:
This is my first UWP project and I learn as I go. So, the code base is not well organized, and it is not well written. Btw, I am not using MVVM pattern at all, so deal with it for now. I am sorry if my code makes you hard to understand and I know there is a lot to improve. The only thing that I want to mention here is that you should not use my code as your UWP tutorial or guide. However, I am still proud that I managed to finish the whole project in a month, and have it released on Microsoft Store. For the upcoming months, I will put more efforts on making it more reliable and yet easy to use. The philosophy is to create a text editor that easy to use, light weighted and yet stylish instead of creating another Notepad++ or VS Code in anyway. If you are looking for a code/programming editor, you might want to use VS Code instead. If you are looking for a lightweight text editor, you come to the right place. As I said, Notepads is here to help you do small things quicker and you should always install and use other editors that suit your need.
This is my first UWP project and I learn as I go. As a result, the code base is not well organized, and it is not well written. Also, I am not using MVVM pattern at all, so deal with it for now. The philosophy here is to create a text editor that easy to use, lightweight and yet stylish instead of creating another Notepad++ or VS Code in anyway. If you are looking for a code/programming editor, you might want to use VS Code instead. If you are looking for a lightweight text editor, you come to the right place. Notepads is here to help you do small things quicker and you should always install and use other editors that suit your need.
@@ -29,11 +29,12 @@ I have waited long enough for a modern windows 10 notepad app to come before I h
So here comes the “Notepads” 🎉 (s stands for Sets).

* Fluent design with built-in Tab system.
* Blazingly fast, feels like win32 notepad.exe but looks better.
* Launch from command line or PowerShell by typing: "notepads" or "notepads %path-to-your-file%".
* Blazingly fast and lightweight.
* Launch from command line or PowerShell by typing: "notepads" or "notepads <FilePath>".
* Multi-line handwriting support.
* Built-in Markdown file live preview.
* Built-in diff viewer (Preview your changes).
* Session snapshot and multi-instances.

![Screenshot Dark](ScreenShots/1.png?raw=true "Dark")
![Screenshot Markdown](ScreenShots/2.png?raw=true "Markdown")
@@ -86,7 +87,7 @@ Please head over to [Github Releases](https://github.com/JasonStein/Notepads/rel

## Disclaimer and Privacy statement:

To be 100% transparent, Notepads is not and will never collect user information in terms of user privacy. I might use analytics tools to collect usage data like how many times it has been downloaded or been used but that’s it. I will not track your IP or listen your typings or read any of your files and send it over to me, or third parties. Feel free to check the source code as well.
To be 100% transparent, Notepads is not and will never collect user information in terms of user privacy. I might use analytics tools to collect usage data like how many times it has been downloaded or been used plus some minimum telemetry to help me debug runtime errors. I will not track your IP or listen your typings or read any of your files and send it over to me, or third parties. Feel free to check the source code as well.

On the other hand, you might noticed that I work for Microsoft. However, Notepads is just my personal side project and I do it for fun and for good (To empower every person and every organization on the planet to achieve more😃). I do not work for Windows team, nor do I work for any Microsoft’s UX/App team. I am not expert on creating Windows apps either. I learned how to code UWP as soon as I started this project which is like only few weeks back. So don’t put too much hope on me or treat it as a project sponsored by Microsoft.

@@ -13,8 +13,8 @@
* Automatic file save and restore (Session snapshot).
* Markdown file preview.
* Diff viewer.
* Native support for Multi-instances.
* Publish 1.0 version of Notepads by end of August 2019.
* Native support for app multi-instances.
* Publish 1.0 version of Notepads by end of Summer 2019 (Sep-Oct).

## Phase 2 (By end of 2019):

@@ -114,14 +114,26 @@
</controls:InAppNotification.Content>
</controls:InAppNotification>
</Grid>
<controls:DropShadowPanel
Canvas.ZIndex="50"
Grid.Column="1"
ShadowOpacity="0.4"
BlurRadius="10"
Margin="-1,0"
VerticalAlignment="Stretch"
HorizontalAlignment="Left">
<Grid Width="1"/>
</controls:DropShadowPanel>
<ContentPresenter x:Name="SplitPanel"
x:Load="False"
Canvas.ZIndex="100"
Padding="10,0,0,0"
Background="{ThemeResource SplitViewBackgroundThemeBrush}"
AutomationProperties.AccessibilityView="Raw"
Grid.Column="1"/>
<controls:GridSplitter x:Name="GridSplitter"
x:Load="False"
Canvas.ZIndex="150"
Style="{StaticResource CustomGridSplitterStyle}"
MinWidth="10"
GripperCursor="Default"
@@ -11,7 +11,7 @@
<AssemblyName>Notepads</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion Condition=" '$(TargetPlatformVersion)' == '' ">10.0.17763.0</TargetPlatformVersion>
<TargetPlatformVersion Condition=" '$(TargetPlatformVersion)' == '' ">10.0.18362.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
@@ -1,7 +1,6 @@
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Notepads">
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

<Style x:Key="CustomSplitViewStyle" TargetType="SplitView">
<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
@@ -547,7 +546,7 @@
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid x:Name="PaneRoot" Margin="0,32,0,0" Background="{TemplateBinding PaneBackground}" Grid.ColumnSpan="2" HorizontalAlignment="Left" Visibility="Collapsed" Width="{Binding TemplateSettings.OpenPaneLength, RelativeSource={RelativeSource Mode=TemplatedParent}}" Canvas.ZIndex="1">
<Grid x:Name="PaneRoot" Margin="0,32,0,1" Background="{TemplateBinding PaneBackground}" Grid.ColumnSpan="2" HorizontalAlignment="Left" Visibility="Collapsed" Width="{Binding TemplateSettings.OpenPaneLength, RelativeSource={RelativeSource Mode=TemplatedParent}}" Canvas.ZIndex="1">
<Grid.BackgroundTransition>
<BrushTransition/>
</Grid.BackgroundTransition>

1 comment on commit 1776ceb

@pinholucas

This comment has been minimized.

Copy link
Contributor

pinholucas commented on 1776ceb Sep 27, 2019

I don't know if u know, but this commit is causing some lag in the interface (for me at least). Hamburger menu is laggy, moving fast the mouse when it changes cursor causes a fast bug that changes the size of it.

Please sign in to comment.
You can’t perform that action at this time.