Merge pull request #13 from sBubshait/feature/profile-update

Feature/profile update
This commit is contained in:
Saleh Bubshait 2025-08-03 10:22:08 +03:00 committed by GitHub
commit 325eec7c8f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 173 additions and 189 deletions

View File

@ -1,11 +0,0 @@
Wesal App - Connecting Colleagues
Wesal (وصال) is a social networking mobile application designed specifically for connecting colleagues and transforming workplace social interactions. The app name is Arabic for "connection" or "union."
It is a platform that enhances communication and collaboration among division members allowing them to build deeper connections and share experiences beyond formal work-related discussions.
The app was fully developed by Saleh Bubshait within the COD/DPSD/ERP Mgmt Group. However, the app was proposed by Weed Batarfi and Insijam team.
The app is being minimally maintained but is not actively developed at the moment as the developer is currently on assignment. For any help or inquiries, please reach out to the DPSD/ERP Mgmt Group.
Thank you for using Wesal!

View File

@ -2,15 +2,10 @@ Wesal App - Connecting Colleagues
Wesal (وصال) is a social networking mobile application designed specifically for connecting colleagues and transforming workplace social interactions. The app name is Arabic for "connection" or "union." Wesal (وصال) is a social networking mobile application designed specifically for connecting colleagues and transforming workplace social interactions. The app name is Arabic for "connection" or "union."
Features: It is a platform that enhances communication and collaboration among division members allowing them to build deeper connections and share experiences beyond formal work-related discussions.
• Social feed for sharing updates and thoughts
• Event invitations and RSVP management
• Real-time notifications for engagement
• Profile management and customization
• Secure authentication and data protection
This application was developed to foster better communication and stronger relationships among team members, making workplace collaboration more enjoyable and effective. The app was fully developed by Saleh Bubshait within the COD/DPSD/ERP Mgmt Group. However, the app was proposed by Weed Batarfi and Insijam team.
For technical support or account-related inquiries, please contact the ERP Management Group from your official company email address. The app is being minimally maintained but is not actively developed at the moment as the developer is currently on assignment. For any help or inquiries, please reach out to the DPSD/ERP Mgmt Group.
Thank you for using Wesal! Thank you for using Wesal!

View File

@ -74,7 +74,10 @@ class _CreatePostScreenState extends State<CreatePostScreen> {
canPop: true, // Allow back navigation to go back to feed page only canPop: true, // Allow back navigation to go back to feed page only
child: Scaffold( child: Scaffold(
appBar: AppBar( appBar: AppBar(
title: Text('Create Post', style: TextStyle(fontWeight: FontWeight.w600)), title: Text(
'Create Post',
style: TextStyle(fontWeight: FontWeight.w600),
),
backgroundColor: Colors.white, backgroundColor: Colors.white,
foregroundColor: Color(0xFF6A4C93), foregroundColor: Color(0xFF6A4C93),
elevation: 0, elevation: 0,
@ -84,7 +87,10 @@ class _CreatePostScreenState extends State<CreatePostScreen> {
), ),
actions: [ actions: [
TextButton( TextButton(
onPressed: _isLoading || isOverLimit || _bodyController.text.trim().isEmpty onPressed:
_isLoading ||
isOverLimit ||
_bodyController.text.trim().isEmpty
? null ? null
: _createPost, : _createPost,
child: _isLoading child: _isLoading
@ -93,13 +99,16 @@ class _CreatePostScreenState extends State<CreatePostScreen> {
height: 20, height: 20,
child: CircularProgressIndicator( child: CircularProgressIndicator(
strokeWidth: 2, strokeWidth: 2,
valueColor: AlwaysStoppedAnimation<Color>(Color(0xFF6A4C93)), valueColor: AlwaysStoppedAnimation<Color>(
Color(0xFF6A4C93),
),
), ),
) )
: Text( : Text(
'Post', 'Post',
style: TextStyle( style: TextStyle(
color: _bodyController.text.trim().isEmpty || isOverLimit color:
_bodyController.text.trim().isEmpty || isOverLimit
? Colors.grey ? Colors.grey
: Color(0xFF6A4C93), : Color(0xFF6A4C93),
fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
@ -185,7 +194,9 @@ class _CreatePostScreenState extends State<CreatePostScreen> {
Text( Text(
'$remainingChars', '$remainingChars',
style: TextStyle( style: TextStyle(
color: isOverLimit ? Colors.red : Colors.grey[600], color: isOverLimit
? Colors.red
: Colors.grey[600],
fontSize: 12, fontSize: 12,
fontWeight: FontWeight.w500, fontWeight: FontWeight.w500,
), ),
@ -197,10 +208,7 @@ class _CreatePostScreenState extends State<CreatePostScreen> {
padding: EdgeInsets.only(top: 8), padding: EdgeInsets.only(top: 8),
child: Text( child: Text(
'Post is too long. Please keep it under $_maxCharacters characters.', 'Post is too long. Please keep it under $_maxCharacters characters.',
style: TextStyle( style: TextStyle(color: Colors.red, fontSize: 12),
color: Colors.red,
fontSize: 12,
),
), ),
), ),
], ],

View File

@ -411,14 +411,6 @@ class _PostCardState extends State<PostCard> {
], ],
), ),
), ),
IconButton(
onPressed: () {
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(content: Text('More options pressed')),
);
},
icon: Icon(Icons.more_horiz, color: Colors.grey[600]),
),
], ],
), ),
SizedBox(height: 12), SizedBox(height: 12),