Skip to content

Conversation

@jwoo-msft
Copy link
Member

@jwoo-msft jwoo-msft commented Dec 14, 2021

Description

  • SDK users currently can't choose not including the FluentUI dependency
  • This change allows it.
  • Based on Janus'PR created AdpativeCardsCore subspec that doesn't take dependency on FluentUI
  • Added extension subspec that takes FluentUI
  • Added CPP macro to enable extension via proprocessor macro.
  • the pattern is well documented in this thread and a blog post
  • Added the macro to sample project as it doesn't consume pod.

How Verified

Tested it with Sample app with the extension.
Janus tested without extension.

Microsoft Reviewers: Open in CodeFlow

updated spec

added podspec at root for testing\n revert it

spec updated

updated pod spec

pod spec update

moretesting

[updated macro name]
Copy link
Contributor

@almedina-ms almedina-ms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Copy link
Contributor

@beervoley beervoley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ADAPTIVECARDS_APP_EXTENSION may not be the best name because in this case it only affects FLUENT_TOOLTIPS and if we add more features that host should be able to disable independently, it's going to be a mess :)

@jwoo-msft
Copy link
Member Author

Member

@jwoo-msft jwoo-msft closed this Dec 14, 2021
@ghost ghost removed the Needs: Author Feedback label Dec 14, 2021
@jwoo-msft jwoo-msft reopened this Dec 14, 2021
@jwoo-msft
Copy link
Member Author

Member

No, it's not. We are going to add an extension library on top of this and will remove the flag when we add more controls.

Copy link
Contributor

@beervoley beervoley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will approve, but the naming still doesn't make much sense to me :)

@jwoo-msft jwoo-msft force-pushed the jwoo/ios-fluent-ui-sep branch from aab655e to 1b13282 Compare December 14, 2021 20:16
@jwoo-msft
Copy link
Member Author

I will approve, but the naming still doesn't make much sense to me :)

I changed the name.

@jwoo-msft jwoo-msft enabled auto-merge (squash) December 14, 2021 20:17
@beervoley
Copy link
Contributor

I will approve, but the naming still doesn't make much sense to me :)

I changed the name.

thanks Joseph :)

@jwoo-msft jwoo-msft merged commit b813d37 into main Dec 14, 2021
@jwoo-msft jwoo-msft deleted the jwoo/ios-fluent-ui-sep branch December 14, 2021 20:47
jwoo-msft added a commit that referenced this pull request Dec 14, 2021
* app extension model added

updated spec

added podspec at root for testing\n revert it

spec updated

updated pod spec

pod spec update

moretesting

[updated macro name]

* updated podspec

* [ios] Updated to final podspec version

* update compiler flag

* pod spec update

* updated flag name
jonmill pushed a commit that referenced this pull request Dec 14, 2021
* app extension model added

updated spec

added podspec at root for testing\n revert it

spec updated

updated pod spec

pod spec update

moretesting

[updated macro name]

* updated podspec

* [ios] Updated to final podspec version

* update compiler flag

* pod spec update

* updated flag name
paulcam206 pushed a commit that referenced this pull request Jan 6, 2022
* Added App extension to podspec (#6849)

* app extension model added

updated spec

added podspec at root for testing\n revert it

spec updated

updated pod spec

pod spec update

moretesting

[updated macro name]

* updated podspec

* [ios] Updated to final podspec version

* update compiler flag

* pod spec update

* updated flag name

* [iOS] fixed empty filtered list issue (#6528)

* [iOS] fixed empty filtered list issue

* [iOS] changed to function call

Co-authored-by: Canhua Li <[email protected]>

* moving resource bundle to core (#6853)

Co-authored-by: Janus Balatbat <[email protected]>

* Rounding off to 2 decimals (#6863)

* [ios] updated round off logic (#6866)

* [ios] updated round off logic

* [ios] refactored the code

* [ios] fixed project file

* [ios] fixed log

* [ios] spec updated

* update test (#6864)

* added heartbeat test ios build infrastructure (#6842)

* [iOS] added yml version of ci

updated path

[ios] path update

[iOS] variable updated

[ios] added new test scheme

* [iOS] added spec linting task

added missing test file

updated spect lint task

added error handling

added parallelism to jobs

* added cert test

added cert install yml

updated pass

Update ios-heartbeat.yml for Azure Pipelines

added provisional file

added script

unimportant commit

unimportant commit

unimportant commit

* added e-mail message

simple update

added e-mail message

added e-mail message

added e-mail message

updated e-mail message

updated e-mail message

updated e-mail message

* updated cron job

* added false test

Revert "added false test"

This reverts commit ef302f0.

* added false test

added build task to cert task

added build task to cert task

added build task to cert task

good cert bad prov

added app push

* parameterized template

updated parameters

updated params

updated parameters

updated to correct provisional file

* updated trigger

* updated e-mail address

Co-authored-by: Canhua Li <[email protected]>
Co-authored-by: janusbal <[email protected]>
Co-authored-by: Janus Balatbat <[email protected]>
Co-authored-by: shabripabba <[email protected]>
jwoo-msft added a commit that referenced this pull request Feb 17, 2022
* Added App extension to podspec (#6849)

* app extension model added

updated spec

added podspec at root for testing\n revert it

spec updated

updated pod spec

pod spec update

moretesting

[updated macro name]

* updated podspec

* [ios] Updated to final podspec version

* update compiler flag

* pod spec update

* updated flag name

* [iOS] fixed empty filtered list issue (#6528)

* [iOS] fixed empty filtered list issue

* [iOS] changed to function call

Co-authored-by: Canhua Li <[email protected]>

* moving resource bundle to core (#6853)

Co-authored-by: Janus Balatbat <[email protected]>

* Rounding off to 2 decimals (#6863)

* [ios] updated round off logic (#6866)

* [ios] updated round off logic

* [ios] refactored the code

* [ios] fixed project file

* [ios] fixed log

* [ios] spec updated

* update test (#6864)

* added heartbeat test ios build infrastructure (#6842)

* [iOS] added yml version of ci

updated path

[ios] path update

[iOS] variable updated

[ios] added new test scheme

* [iOS] added spec linting task

added missing test file

updated spect lint task

added error handling

added parallelism to jobs

* added cert test

added cert install yml

updated pass

Update ios-heartbeat.yml for Azure Pipelines

added provisional file

added script

unimportant commit

unimportant commit

unimportant commit

* added e-mail message

simple update

added e-mail message

added e-mail message

added e-mail message

updated e-mail message

updated e-mail message

updated e-mail message

* updated cron job

* added false test

Revert "added false test"

This reverts commit ef302f0.

* added false test

added build task to cert task

added build task to cert task

added build task to cert task

good cert bad prov

added app push

* parameterized template

updated parameters

updated params

updated parameters

updated to correct provisional file

* updated trigger

* updated e-mail address

* Bug fixes: Textblock layout | Parsing warnings (#7041)

* need to take accoutn for empty

* works but need to find memory leak

* testing against stackedit

* removing unneeded line | allocating array

* clean up

* getting rid of str() use from strigstream

* handling link destination with [ character and other tokens

* removing cpp changes

Co-authored-by: Janus Balatbat <[email protected]>

* Bug fixes: Handling of link markdown  (#6922)

* need to take accoutn for empty

* works but need to find memory leak

* testing against stackedit

* removing unneeded line | allocating array

* clean up

* getting rid of str() use from strigstream

* handling link destination with [ character and other tokens

* removing the ios changes

* resolving comments

* resolving comments

* clan format

Co-authored-by: Janus Balatbat <[email protected]>

* updated android-ci yml to use latest macOs

Co-authored-by: Canhua Li <[email protected]>
Co-authored-by: janusbal <[email protected]>
Co-authored-by: Janus Balatbat <[email protected]>
Co-authored-by: shabripabba <[email protected]>
michaelfarnsworth pushed a commit to michaelfarnsworth/AdaptiveCards that referenced this pull request Nov 10, 2022
* app extension model added

updated spec

added podspec at root for testing\n revert it

spec updated

updated pod spec

pod spec update

moretesting

[updated macro name]

* updated podspec

* [ios] Updated to final podspec version

* update compiler flag

* pod spec update

* updated flag name
rankush pushed a commit to rankush/AdaptiveCards that referenced this pull request May 8, 2024
* app extension model added

updated spec

added podspec at root for testing\n revert it

spec updated

updated pod spec

pod spec update

moretesting

[updated macro name]

* updated podspec

* [ios] Updated to final podspec version

* update compiler flag

* pod spec update

* updated flag name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants