-
Notifications
You must be signed in to change notification settings - Fork 906
Graph Activity Feed- Build App Package Icons Fixes For TTK #1805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Harikrishnan-MSFT
merged 7 commits into
main
from
v-mfurquan/Graph-activity-feed-manifest-icons-Fixes
Jan 7, 2026
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
c14d873
Manifest Icons Fixes For TTK
Mohammed-MSFT aac3909
Login Issue Fixed for Group Chat
Mohammed-MSFT 75dedb8
Added Package.json file to the sample
Mohammed-MSFT 6af9a2e
Add Directory.Read permission
Harikrishnan-MSFT 28a7ba8
Fixing activity fees sample issue and updating images
AjayJ12-MSFT fd7d8d9
Updating graph-activity-feed csharp sample
AjayJ12-MSFT 89a6b02
Merge remote-tracking branch 'origin/main' into v-mfurquan/Graph-acti…
Harikrishnan-MSFT File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
samples/graph-activity-feed/csharp/ActivityFeedNotification/appsettings.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+108 KB
samples/graph-activity-feed/csharp/Images/2.ActivityNotificationForUser.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+108 KB
samples/graph-activity-feed/csharp/Images/4.NotificationInGroupChat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+102 KB
samples/graph-activity-feed/csharp/Images/6.ActivityFeedNotification.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-64 KB
samples/graph-activity-feed/csharp/Images/ActivityFeedNotification.png
Binary file not shown.
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,7 @@ | ||
| ClientId = | ||
| ClientSecret = | ||
| TenantId = | ||
| AllowedHosts = * | ||
| ClientId= | ||
| ClientSecret= | ||
| TenantId= | ||
| AllowedHosts=* | ||
| applicationIdUri= | ||
| UserId= | ||
| TeamsAppId= |
Binary file modified
BIN
+1.65 KB
(110%)
samples/graph-activity-feed/nodejs/Images/activity-feed-personal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+55.7 KB
(180%)
samples/graph-activity-feed/nodejs/Images/feed-group-config.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+22.9 KB
(130%)
samples/graph-activity-feed/nodejs/Images/feed-group-custom-notification.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+6.87 KB
(110%)
samples/graph-activity-feed/nodejs/Images/feed-group-page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-24 KB
(68%)
samples/graph-activity-feed/nodejs/Images/feed-notification-personal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+33.1 KB
(150%)
samples/graph-activity-feed/nodejs/Images/feed-team-config.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+30.2 KB
(140%)
samples/graph-activity-feed/nodejs/Images/feed-team-custom-event.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-9.82 KB
(90%)
samples/graph-activity-feed/nodejs/Images/feed-team-custom-notification.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+19.5 KB
(130%)
samples/graph-activity-feed/nodejs/Images/feed-team-notify.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+15.9 KB
(120%)
samples/graph-activity-feed/nodejs/Images/feed-team-page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| const fs = require('fs'); | ||
| const path = require('path'); | ||
| const archiver = require('archiver'); | ||
|
|
||
| // Create build directory if it doesn't exist | ||
| const buildDir = path.join(__dirname, 'appManifest', 'build'); | ||
| if (!fs.existsSync(buildDir)) { | ||
| fs.mkdirSync(buildDir, { recursive: true }); | ||
| } | ||
|
|
||
| // Read the manifest file | ||
| const manifestPath = path.join(__dirname, 'appManifest', 'manifest.json'); | ||
| const manifest = JSON.parse(fs.readFileSync(manifestPath, 'utf8')); | ||
|
|
||
| // Replace environment variables in manifest | ||
| const envReplacements = { | ||
| '{{TEAMS_APP_ID}}': process.env.TEAMS_APP_ID || 'placeholder-teams-app-id', | ||
| '{{TAB_DOMAIN}}': process.env.TAB_DOMAIN || 'placeholder-domain', | ||
| '{{AAD_APP_CLIENT_ID}}': process.env.AAD_APP_CLIENT_ID || 'placeholder-client-id', | ||
| '{{TEAMSFX_ENV}}': process.env.TEAMSFX_ENV || 'local' | ||
| }; | ||
|
|
||
| let manifestString = JSON.stringify(manifest, null, 2); | ||
| Object.entries(envReplacements).forEach(([placeholder, value]) => { | ||
| manifestString = manifestString.replace(new RegExp(`\\$\\{\\{${placeholder.slice(2, -2)}\\}\\}`, 'g'), value); | ||
| }); | ||
|
|
||
| // Write the processed manifest | ||
| const outputManifestPath = path.join(buildDir, `manifest.${process.env.TEAMSFX_ENV || 'local'}.json`); | ||
| fs.writeFileSync(outputManifestPath, manifestString); | ||
|
|
||
| // Create the zip file | ||
| const outputZipPath = path.join(buildDir, `appManifest.${process.env.TEAMSFX_ENV || 'local'}.zip`); | ||
| const output = fs.createWriteStream(outputZipPath); | ||
| const archive = archiver('zip', { zlib: { level: 9 } }); | ||
|
|
||
| output.on('close', () => { | ||
| console.log(`App package created: ${outputZipPath} (${archive.pointer()} total bytes)`); | ||
| }); | ||
|
|
||
| archive.on('error', (err) => { | ||
| throw err; | ||
| }); | ||
|
|
||
| archive.pipe(output); | ||
|
|
||
| // Add manifest file | ||
| archive.file(outputManifestPath, { name: 'manifest.json' }); | ||
|
|
||
| // Add all PNG files from appManifest directory | ||
| const appManifestDir = path.join(__dirname, 'appManifest'); | ||
| const files = fs.readdirSync(appManifestDir); | ||
| files.forEach(file => { | ||
| if (file.endsWith('.png')) { | ||
| const filePath = path.join(appManifestDir, file); | ||
| archive.file(filePath, { name: file }); | ||
| console.log(`Added icon: ${file}`); | ||
| } | ||
| }); | ||
|
|
||
| archive.finalize(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.