Project

General

Profile

Bug #358

need visual indicator of login and network status

Added by Matt Jones over 18 years ago. Updated about 18 years ago.

Status:
Resolved
Priority:
Normal
Category:
morpho - general
Target version:
Start date:
11/30/2001
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
358

Description

When morpho has network access to metacat, a user can be logged in or not. If
they are logged in, they have the access rights of their user account when
accessing metacat. When not logged in, they have "public" rights. Need a
visual indicator of the current login status. Also need a visual indicator of
the network status (true if can reach metacat, false otherwise).

History

#1 Updated by Matt Jones over 18 years ago

Also need indicator of whether or not the connection to metacat is using ssl or
not.

These should probably be off in a small status bar somewhere. The netscape
icons are a good model.

#2 Updated by Matthew Brooke about 18 years ago

Created new StatusBar class and integrated into ClientFramework.

Shows status of network/metacat connection, login status, and SSL status, as 3
icons. Has a text message area to show additional status messages.

Class is actually a singleton - always returns the same shared instance - in
case we ultimately decide to repeat the same status bar in other screens
within morpho (for example, if you're editing a package, you need to know if
you're connected or not so you can see where your edits will be saved)

Also made changes to do the following:

(1) created a thread that polls metacat with a specified time period
(currently 5 seconds - should it be longer??), to determine whether a network
connection/metacat database is available. If not, status bar is updated, and
user is not allowed to attempt to login to metacat (can't open login
dialog).

(2) If network connection is lost during a session, results/package screen is
refreshed to show only local packages, since user no longer has access to
metacat packages." ClientFramework.java

STILL TO DO: (not critical)

a) - If text in text area JLabel is very long, it "pushes" the icons off the
visible area of the screen. Same happens if screen is resized smaller. Need
to either allow JLabel to resize smaller than lenght of text, or truncate part
of text so it doesn't force JLabel to be too wide

b) icons are just "quick & dirty" creations for testing. Need some feedback
on how to change them.

#3 Updated by Matthew Brooke about 18 years ago

corrected item 2.a, above ("JLabel [...] "pushes" the icons off the
visible area of the screen"), and also reduced time-out for tooltips, since
they were previously being displayed for too long and were obscuring the other
icons.

Now only outstanding semi-issue is icon redesign

#4 Updated by Matthew Brooke about 18 years ago

Icon enhancement re-located to its own bug # (see Bug #511), since the
original intent of this bug (#358) has been fulfilled.

#5 Updated by Redmine Admin over 7 years ago

Original Bugzilla ID was 358

Also available in: Atom PDF