Skip to content

Releases: microsoft/surface-duo-app-samples

Surface Duo - PhotoEditor

09 Dec 21:53
c7f949c
Compare
Choose a tag to compare
Added integration for Photo Editor app with new screen manager SDK (#48)

Added integration for Photo Editor app with new screen manager SDK

Surface Duo - SourceEditor

09 Dec 15:24
6c24aaa
Compare
Choose a tag to compare
Added integration for SourceEditor app with new screen manager SDK (#47)

Added integration for SourceEditor app with new screen manager SDK

Surface Duo - TwoNote

09 Dec 15:18
7f6602d
Compare
Choose a tag to compare
Migrated TwoNote app to use the new dualScreen SDK and added UI tests…

… for it (#46)

- Updated the dual screen SDK dependency to use the new artifacts and versions
- Refactored code to keep the same functionality
- Checked before replacing fragment whether it is already on screen through the unique tags
- Added UI tests for fragment navigation using the dual screen SDK

Surface Duo - Widget

03 Dec 15:22
8081a44
Compare
Choose a tag to compare
243785

Removed dummy tests and unused dependencies from Widget sample (#44)

Surface Duo - Widget

21 Sep 09:01
5be13fe
Compare
Choose a tag to compare
[Widget] Added unit tests and instrumentation tests to the Widget Sam…

…ple (#40)

* [Widget] Added unit tests and instrumentation tests to the Widget Sample, split logic from network and parsing

- Refactored tasks.withType(KotlinCompile) to be included in allprojects so it will work also for tests
- Separated the networking logic from the parsing logic using NetworkFeed object
- Moved rssItems data to the WidgetFactory to use the object's methods just as helper functions
- Created a BaseSimpleApi interface so RssSimpleApi can be mocked with a test api
- Fixed stripHtml special character regex
- Added unit tests for networking logic with a mocked web server
- Added UI tests for the changing the feed url
- Added instrumentation tests for the xml parsing

Surface Duo - ComposeSample

16 Sep 17:40
d159eb3
Compare
Choose a tag to compare
Keep ComposeSample up-to-date (#41)

* Keep ComposeSample up-to-date

* Update

* Remove no necessary repo

Surface Duo - ComposeSample

01 Sep 16:05
f5ffcf0
Compare
Choose a tag to compare
Update README for ComposeSample (#38)

* Update README

* Update screenshot

Surface Duo - SourceEditor

01 Sep 02:39
23b1459
Compare
Choose a tag to compare
A simple sample for Jetpack Compose in Surface Duo (#31)

* Add Ktlint support

* Fix codestyle issue

* Use LayoutChangeCallback instead of manual checking

* Move to Compose-dev17

* Add ComposeSample to the CI pipeline

* Add README

* Update .gitignore file

* Update ComposeSample dependencies

* Update kotlin and code cleanup

* Remove test files

* Add debug tag

* Fix ktlint issues

* Update compose and AGP

* Remove proguard-rules

* Remove buildtypes

* urlFragment should be all lowercase

* Update image assets

* Update layout

* Add ComposeSample into new pipeline file

* Fix the rebase issue

* Delete workspace.xml

Co-authored-by: Craig Dunn <[email protected]>

Surface Duo - ComposeSample

01 Sep 02:39
23b1459
Compare
Choose a tag to compare
A simple sample for Jetpack Compose in Surface Duo (#31)

* Add Ktlint support

* Fix codestyle issue

* Use LayoutChangeCallback instead of manual checking

* Move to Compose-dev17

* Add ComposeSample to the CI pipeline

* Add README

* Update .gitignore file

* Update ComposeSample dependencies

* Update kotlin and code cleanup

* Remove test files

* Add debug tag

* Fix ktlint issues

* Update compose and AGP

* Remove proguard-rules

* Remove buildtypes

* urlFragment should be all lowercase

* Update image assets

* Update layout

* Add ComposeSample into new pipeline file

* Fix the rebase issue

* Delete workspace.xml

Co-authored-by: Craig Dunn <[email protected]>

Surface Duo - Widget

18 Aug 18:24
e387192
Compare
Choose a tag to compare
Hero notes (#36)

* Copied list detail framework

Copied framework from list/detail sample

* Refaactor package and app name

* Update launcher icon

* Add light/dark themes

* Update dark theme colors

* Added variable width drawing and erasing

Now supports constant pressure feedback and erasing

* Fixed finger drawing

Fixed an issue with the stroke instantiation when using finger to draw

* linting

newlines newlines newlines

* Fix toolbar and add floating action button

* Added basic saving

saved files do not persist yet

* Improved serialization for drawings

drawings can now be saved and redrawn

* Added auto saving and loading

any drawing changes are saved and loaded on fragment lifetime changes

* Linting

Passes ktlint, still has some lint issues that may be better for you to fix

* Note addition

Create Note model and connect floating action button to the addition of notes to the list

* Modify note fragment to have modes

* Connect note model to UI

* Worked on file persistence

notes are associated with unique items in a list

* Very basic startup loading

List fragment reads some metadata and loads appropriate notes

* Improved single tab note saving

Added coordination between notes and directory entries by implementing inodes

* Fixed formatting

Renamed some files and methods to account for the addition of inodes

* Simplified INode

set default values for inode

* Remove unused sample files

Any movie-related fragments/layouts

* Refactor file names

* Update icon

* Extract current toolbars to separate xml files

* Add navigation and actions to note fragment toolbar

* Add primary and contextual toolbars to note list fragment

* Linting

* Refactor NoteFragment to NoteDetailFragment

* Convert property to getter

* added deletion

implemented backend code for deleting files

* hooked up deletion to front end

can perform deletion on list and detail fragments

* linting

fixed formatting issues

* Add getting started screen for first span

* Implement fragment behavior after spanning changes

* Address PR feedback

* started categories backend

changing DataProvider structure to support categories

* Category switching

can now switch between categories

* Category options added

categories can be renamed, added, and deleted

* Resolved bugs with persistence

* linting

* Code cleanup

* Add pen mode to toolbar

* Modify selection mode code

Fix icon color issue and clean up methods

* Linting

* Cleanup

* fixed despan deletion bug

* updated dependencies

* Add twonote to CI process

* Small UI fixes

* Add pen tools buttons

* Add unlimited pen colors

* Remove unused code

* Show custom color

* Linting caught by our functioning CI

* Working drag and drop

fixed permission issues with reading files and imported code from source editor

* Fixed drag and drop permissions

can now import generic txt file from any app

* fullscreen drag and drop

txt file can be dragged on any part of the screen

* Share note as image

* Code cleanup

* Fix custom color crash

When empty string was entered, the parseColor threw a different kind of exception

* Add more comments

* Add extended view when rotated/spanned

* Reorganize updateINode method

* Update MainActivity to use fragment handler

* Linting

* Fix fragment switching/logic

* Fix category switching bug

* xml file code clean up!

Adding copyright (because I always forget to add them) and removing unused attributes

* Added image drop target

* Image repositioning

Image movement within app

* Image resizing and repositioning

drag image on long click, resize with pinch

* Added picture mode to toolbar

can switch between picture, ink, and text modes

* Switched toolbar icons

The three modes have their own dedicated menu items now

* Make newer strokes appear on top

* Resize drawings when rotated to extended view

* Update pen tools menu with highlight and new icons

* Fix rotation bugs

* Move constants to Defines

* Add eraser and refine pen tools

* Linting

* saving rough draft

* Image saving

images are converted to bitmap strings and saved in the respective note

* cleanup

* extra comments

* Window switch

switch to appropriate window on drag event

* Fix linting issue

* Remove unimplemented menu items

* Add rotation handling to images

* Implement image deletion

* Fix rotation and deletion bugs

* Address PR comments

* Update TwoNote readme

* Update existing readmes for consistency

* Update drag-drop link

* Update readme

* Updated references

* wip

* Uncapitalize app pattern names

* Reorganize feature list

* Add screenshots to readme

* Add categories/highlight screenshot

* Address PR comments

* removed unnecessary viewmodel

DrawViewModel was not critical to code

* reformatted handlers

* fixed merge artifacts

* removed unnecessary viewmodel

DrawViewModel was not critical to code

* reformatted handlers

* resolved duplicates on merge

* cleaned up fragment focused code

* Cleaned up code related to pen

* cleaned up general app code

* removed default note names

* fixed issues with text newlines

* Reorganize folder structure

* Add copyright to source files

* Clean up xml files

* Clean up NoteDetailFragment

Reorganize methods, add comments, remove unused attributes

* Clean up MainActivity

* Clean up gradle files

* Clean up handlers

* Start NoteListFragment commenting

* added method headers for utils/fragments

* Added comments for models

* Additional code cleanup

* Added file headers

* fixed merge issues

* linting

* Update readme for samples browser compatibility

Co-authored-by: Kristen Halper <[email protected]>
Co-authored-by: Kristen Halper <[email protected]>