Repository navigation
Expand file tree
/
Copy pathViewMessage.php
More file actions
156 lines (125 loc) · 3.8 KB
/
Copy pathViewMessage.php
File metadata and controls
156 lines (125 loc) · 3.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<?php
declare(strict_types=1);
namespace PHPForge\Debug\View;
/**
* Presentation text of the debugger chrome shared by every adapter: request history, sidebar, and capture comparison.
*/
enum ViewMessage: string
{
/**
* Header of the AJAX column, also used as its filter label and as the tag of the sidebar card.
*/
case AJAX = 'AJAX';
/**
* Label of the baseline selector in the comparison form.
*/
case BASELINE = 'Baseline capture';
/**
* Verdict of a compared value that differs between the two captures.
*/
case CHANGED = 'Changed';
/**
* Console request, as named in the method filter of the history grid.
*/
case COMMAND = 'COMMAND';
/**
* Caption of the table comparing the request-summary metrics of both captures.
*/
case COMPARISON_METRICS_CAPTION = 'Request summary comparison';
/**
* Caption of the table comparing the panel payload structure of both captures.
*/
case COMPARISON_PANELS_CAPTION = 'Panel structure comparison';
/**
* Explanation returned when the comparison page is opened with fewer than two captures available.
*/
case COMPARISON_REQUIRES_TWO = 'At least two captured requests are required for comparison.';
/**
* Scope of the overall comparison verdict, listing what the two captures were compared on.
*/
case COMPARISON_SCOPE = 'Summary and panel structure';
/**
* Action label of the sidebar entry leading to the configuration page.
*/
case CONFIG = 'Config';
/**
* Heading of the sidebar card while the debugger shows the request being inspected.
*/
case CURRENT_REQUEST = 'Current request';
/**
* Header of the processing-time column.
*/
case DURATION = 'Duration';
/**
* Label of the sidebar group listing the installed extensions.
*/
case EXTENSIONS = 'Extensions';
/**
* Header of the capture tag column.
*/
case ID = 'ID';
/**
* Verdict of a compared value that matches in both captures.
*/
case IDENTICAL = 'Identical';
/**
* Header of the client address column.
*/
case IP = 'IP';
/**
* Header of the peak-memory column.
*/
case MEMORY = 'Memory';
/**
* Header of the HTTP method column, also used as its filter label and as a comparison metric label.
*/
case METHOD = 'Method';
/**
* Accessible label of the sidebar card while the debugger shows the latest capture.
*/
case NEWEST_CAPTURED_REQUEST = 'Newest captured request';
/**
* Heading of the sidebar card while the debugger shows the latest capture.
*/
case NEWEST_REQUEST = 'Newest request';
/**
* Verdict of a compared metric whose value is the same in both captures.
*/
case NO_CHANGE = 'No change';
/**
* Label of the link opening a panel of the compared capture.
*/
case OPEN_PANEL = 'Open panel';
/**
* Header of the panel column in the comparison table.
*/
case PANEL = 'Panel';
/**
* Label of the peak-memory comparison metric.
*/
case PEAK_MEMORY = 'Peak memory';
/**
* Header of the query-count column.
*/
case QUERY = 'Query';
/**
* Header of the HTTP status-code column, also used as its filter label and as a comparison metric label.
*/
case STATUS = 'Status';
/**
* Label of the target selector in the comparison form.
*/
case TARGET = 'Target capture';
/**
* Header of the capture-time column.
*/
case TIME = 'Time';
/**
* Debugger name shown as the page title and carried by the toolbar payload.
*/
case TITLE = 'Yii Debugger';
/**
* Header of the request URL column, also used as its filter label.
*/
case URL = 'URL';
}