commit bee4353a97b9bf209594e28cb9c66a423231a22c
parent 7145c8c0003d72ebfb4e78f347050d614af343a7
Author: Sanjeebani Parida <83271316+sanjeebani14@users.noreply.github.com>
Date: Sat, 29 Nov 2025 13:04:45 +0530
Merge pull request #18 from nilotpal-n7/sanjeebani
Sanjeebani
Diffstat:
4 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties
@@ -1,5 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-all.zip
diff --git a/lib/ui/pages/image_save_page.dart b/lib/ui/pages/image_save_page.dart
@@ -29,6 +29,7 @@ class ImageSavePage extends StatefulWidget {
final int projectId;
final String projectName;
final bool isFromShare;
+ final String? parentProjectName;
const ImageSavePage({
Key? key,
@@ -36,6 +37,7 @@ class ImageSavePage extends StatefulWidget {
required this.projectId,
required this.projectName,
this.isFromShare = true,
+ this.parentProjectName,
}) : super(key: key);
@override
@@ -384,6 +386,12 @@ class _ImageSavePageState extends State<ImageSavePage> {
@override
Widget build(BuildContext context) {
final currentTags = _tagsPerImage[_currentImageIndex] ?? {};
+ final String parentName = widget.parentProjectName?.trim() ?? '';
+
+ final String titleText =
+ parentName.isNotEmpty
+ ? '$parentName / ${widget.projectName}'
+ : widget.projectName;
return Scaffold(
backgroundColor: Colors.white,
@@ -399,7 +407,7 @@ class _ImageSavePageState extends State<ImageSavePage> {
onPressed: () => Navigator.pop(context),
),
title: Text(
- widget.projectName,
+ titleText,
style: const TextStyle(
color: Colors.black,
fontSize: 18,
diff --git a/lib/ui/pages/moodboards_page.dart b/lib/ui/pages/moodboards_page.dart
@@ -1,3 +1,5 @@
+//BROKEN
+
import 'dart:io';
import 'package:flutter/material.dart';
import 'package:adobe/data/repos/board_repo.dart';
diff --git a/lib/ui/pages/share_to_moodboard_page.dart b/lib/ui/pages/share_to_moodboard_page.dart
@@ -214,7 +214,7 @@ class _ShareToMoodboardPageState extends State<ShareToMoodboardPage> {
}
}
- void _navigateToSavePage(int projectId, String projectName) {
+ void _navigateToSavePage(int projectId, String projectName, {String? parentProjectName}) {
_projectService.openProject(projectId);
ReceiveSharingIntent.instance.reset();
@@ -227,6 +227,7 @@ class _ShareToMoodboardPageState extends State<ShareToMoodboardPage> {
projectId: projectId,
projectName: projectName,
isFromShare: true,
+ parentProjectName: parentProjectName,
),
),
);
@@ -379,7 +380,7 @@ class _ShareToMoodboardPageState extends State<ShareToMoodboardPage> {
return Container(
margin: const EdgeInsets.only(bottom: 12),
child: InkWell(
- onTap: () => _navigateToSavePage(vm.id, vm.title),
+ onTap: () => _navigateToSavePage(vm.id, vm.title, parentProjectName: vm.parentTitle),
borderRadius: BorderRadius.circular(16),
child: Container(
padding: const EdgeInsets.all(12),
@@ -526,7 +527,9 @@ class _ShareToMoodboardPageState extends State<ShareToMoodboardPage> {
children:
g.events.map((e) {
return ListTile(
- onTap: () => _navigateToSavePage(e.id, e.title),
+ onTap: () => _navigateToSavePage(e.id, e.title,
+ parentProjectName: g.project.title,
+ ),
contentPadding: const EdgeInsets.symmetric(
horizontal: 28,
vertical: 6,